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
I have a react-select component that I'm populating with grouped options and I'm using Formik's provided handlechange method, which works great. As it says in the documenation, it's only updating the values[key] for the selected option - is there anyway to make that value an object that also contains the optgroup's key or label?
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
-
I have a react-select component that I'm populating with grouped options and I'm using Formik's provided
handlechange
method, which works great. As it says in the documenation, it's only updating thevalues[key]
for the selected option - is there anyway to make that value an object that also contains theoptgroup
's key or label?Beta Was this translation helpful? Give feedback.
All reactions