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
MultiSelect component has a hidden internal input to store value, but value is never set nor updated. If you are using it as a controlled input you may not notice it, but when you put it inside a form, the value selected is never sent through form data.
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
Jul 16, 2024
Describe the bug
MultiSelect component has a hidden internal input to store value, but value is never set nor updated. If you are using it as a controlled input you may not notice it, but when you put it inside a form, the value selected is never sent through form data.
Reproducer
https://stackblitz.com/edit/vipv36?file=src%2FApp.tsx
PrimeReact version
10.7.0
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Form data submitted should have the values selected.
The text was updated successfully, but these errors were encountered: