You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Jan 11, 2024
Describe the bug
from #4089
When updating state using spread syntax with the value of [event.value] passed when the onChange event of PickList fired, the following bug occurs.
Focus is lost when selecting.
When the down arrow is pressed continuously, "undefined" is stored in the array and becomes an invalid value.
Reproducer
https://stackblitz.com/edit/vpjgjp?file=src%2FApp.jsx
Reproducer
https://stackblitz.com/edit/vpjgjp?file=src%2FApp.jsx
PrimeReact version
10.3.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: