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

auro-combobox: filter options list #178

Open
vitaliyalekhnovich opened this issue Jun 13, 2024 · 0 comments
Open

auro-combobox: filter options list #178

vitaliyalekhnovich opened this issue Jun 13, 2024 · 0 comments

Comments

@vitaliyalekhnovich
Copy link

Is your feature request related to a problem? Please describe.

Currently using the combobox will allow a user to type anything without forcing them to pick from the dropdown list. A good example is on the https://auro.alaskaair.com/components/auro/combobox for Airports example. Type in not an airport and click outside of the combobox. The combobox looks like a valid option was selected and not one of the predefined options like seattle tacoma international.
image

Describe the solution you'd like

An ideal solution would be to prompt the user with an error if they have not selected a predefined option. Only a predefined option should be selected from a filtered list based on what the user has typed so far.

Describe alternatives you've considered

An alternative solution I have considered is once a user clicks out of the combobox check blur event if the current value matches one of the predefined menu options of the combobox.

Additional context

No response

Exit criteria

No response

@vitaliyalekhnovich vitaliyalekhnovich added auro-combobox not-reviewed Issue has not been reviewed by Auro team members Type: Feature New Feature labels Jun 13, 2024
@Patrick-Daly-AA Patrick-Daly-AA removed their assignment Jun 18, 2024
@Patrick-Daly-AA Patrick-Daly-AA removed the not-reviewed Issue has not been reviewed by Auro team members label Jun 18, 2024
@jason-capsule42 jason-capsule42 removed the Type: Feature New Feature label Oct 3, 2024
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

3 participants