Allow autocomplete to search on label
bethesque opened this issue · 0 comments
Firstly, thanks for your excellent work on this library!
Is your feature request related to a problem? Please describe.
I have a list of users I would like to put into an AutoComplete component. I would like to display and search on the users' name (label), but handle the setting of the underlying property based on their UUID (value).
Currently, according to the documentation, the search will perform:
A simple case insensitive filter that will only show results that contain the input's value in order ignoring case
I do not want to search on the value (the UUID) and I can't use the label to set the property as is not guaranteed to be unique.
Describe the solution you'd like A clear and concise description of what you
want to happen.
I would like a way to search on the label, not the value.
Describe alternatives you've considered
Additional context Add any other context or screenshots about the feature
request here.