react-functional-select icon indicating copy to clipboard operation
react-functional-select copied to clipboard

Separate render prop for control vs menu

Open drewbrend opened this issue 3 years ago • 0 comments

Is there a plan to support a separate render prop for the selected option in the control vs the menu? Currently renderOptionLabel is applied to both.

I am rendering custom menu items with additional subtext and an icon, it doesn't make sense for me to display these extra things in the control, I just want the main piece of text. In the example below, I would like to be able to only render Denver in the control

Screen Shot 2021-04-26 at 8 44 19 AM

Something like renderControlLabel to go along with the current renderOptionLabel?

drewbrend avatar Apr 26 '21 12:04 drewbrend