Closed
Description
Is your feature request related to a problem? Please describe.
No, it is clearly documented that labelKey
should return a string
. This request is to enable labelKey
to return JSX so the selected item can be formatted. Similar to how renderToken
works.
Describe the solution you'd like
Enable labelKey
to return JSX so the selected item can be formatted. Similar to how renderToken
works.
How is this solution useful to others?
Displaying a renderLabel
(or ability to return JSX in labelKey
) would beconsistent with renderToken
.
Describe alternatives you've considered
It might be possible to use renderInput
to achieve this but that adds complexity.