Show existing data in defaultValue multi #5566
Replies: 2 comments 2 replies
-
HI @yaffalhakim1, Can you share sample response or options array or share this example on Code Sandbox? |
Beta Was this translation helpful? Give feedback.
-
Hello @yaffalhakim1,
One of the hurdles for simple string support is the ability to define option groups. The Until we have a proper solution which allows more freedom in defining groups (and therefore improves string option support), your best bet is to convert the string options into objects. |
Beta Was this translation helpful? Give feedback.
-
My apologize because im new with react-select
so i already get data with GetServersideprops (nextjs) like this
i want to use the tag as default value, so the user don't have to input it again. i do it like this
the problem is, the data is not showing
it is supposed to be like this
anyone have a solution? thank you.
Beta Was this translation helpful? Give feedback.
All reactions