Skip to content

Separate render prop for control vs menu #25

@drewbrend

Description

@drewbrend

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions