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 can't figure out how to put label or flag in the selected item. It just shows text value provided in the options props.
Proposed solution
I want to put label in the selected item as in the dropdown item list.
For multiple selection, renderLabel prop can handle this problem, but for single-select, it is not. I might be able to create a custom dropdown, but I think it makes sense to have something like renderLabel function, or any other way to show label or flag in the selected item also, not just items in the dropdown item list.
#852 seems to be related with this issue, but still I can't find out how to customize the selected item, except just to alternate the text to something else.
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Feature Request
Problem description
I can't figure out how to put label or flag in the selected item. It just shows text value provided in the options props.
Proposed solution
I want to put label in the selected item as in the dropdown item list.
For multiple selection, renderLabel prop can handle this problem, but for single-select, it is not. I might be able to create a custom dropdown, but I think it makes sense to have something like renderLabel function, or any other way to show label or flag in the selected item also, not just items in the dropdown item list.
#852 seems to be related with this issue, but still I can't find out how to customize the selected item, except just to alternate the text to something else.
MVP
https://codesandbox.io/s/5qq2nm7ol
The text was updated successfully, but these errors were encountered: