Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow autocomplete to search on label #1172

Open
bethesque opened this issue Jun 4, 2021 · 0 comments
Open

Allow autocomplete to search on label #1172

bethesque opened this issue Jun 4, 2021 · 0 comments

Comments

@bethesque
Copy link

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.

@mlaursen mlaursen added this to the v.Unknown milestone Jul 3, 2021
@mlaursen mlaursen modified the milestones: v.Unknown, v5.0.0 Nov 24, 2021
@mlaursen mlaursen modified the milestones: v5.0.0, v6.0.0 Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants