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
At this point options for react-select are clear. There are none, they're updated on the go as user types text he wants to find.
I want to show user those values (it's a multi select) even if there are no options like those on the list or when the list of options is empty. The second thing is how do I connect this data, initial data is like given: object with keys: id and label, however react-select is passing the object with value and label keys.
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.
-
I have following case:
At first app fetches some data including this:
At this point options for react-select are clear. There are none, they're updated on the go as user types text he wants to find.
I want to show user those values (it's a multi select) even if there are no options like those on the list or when the list of options is empty. The second thing is how do I connect this data, initial data is like given: object with keys: id and label, however react-select is passing the object with value and label keys.
Beta Was this translation helpful? Give feedback.
All reactions