multi select component bug ? #5586
-
I am having difficulty using react-select with the isMulti prop. Even though it is meant to be a multi-select component, when I choose an option, react-select indicates that there are no other options available. example: I know that it has something to do with js map function but i can't figure out on my own. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @KreatorXoX |
Beta Was this translation helpful? Give feedback.
Hi @KreatorXoX
In mock data, you have same values in price key. That is the reason why you see No options once you select a option.
Just updating mock data should fix this. Or use
id
in value key instead ofprice
Working sandbox link