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
Im using Combobox to select multiple options as uncontrolled inputs but my hidden input fields are using square bracket notations.
This is confusing my backend as it has no idea how to process these fields.
In order to achieve my expected result do I need two arrays, one for all options and one for selected data? And use the by="id" prop for Combobox to make the comparison?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Im using Combobox to select multiple options as uncontrolled inputs but my hidden input fields are using square bracket notations.
This is confusing my backend as it has no idea how to process these fields.
I simply want:
In order to achieve my expected result do I need two arrays, one for all options and one for selected data? And use the
by="id"
prop for Combobox to make the comparison?pseudo code example:
Beta Was this translation helpful? Give feedback.
All reactions