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

[Feat]: Update combobox autocomplete behavior #4822

Open
1 task done
rubencarvalho opened this issue Oct 15, 2024 · 0 comments
Open
1 task done

[Feat]: Update combobox autocomplete behavior #4822

rubencarvalho opened this issue Oct 15, 2024 · 0 comments

Comments

@rubencarvalho
Copy link
Collaborator

rubencarvalho commented Oct 15, 2024

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

combobox

Description of the requested feature

Here’s a refined version of the feature request description:

Our current combobox autocomplete implementation adheres to the W3C example for combobox patterns (see example). However, we have received customer feedback requesting a more common behavior: when a value is provided in the input, the full list of options should remain visible. The list should only be filtered once the user starts typing or deletes characters.

Currently, users must clear the entire input to view all available options when a default value is set or selected. This can create confusion, as they expect to see all options without having to clear the field.

React Spectrum’s combobox implementation already supports this requested behavior.

W3C guidelines do not specifically prohibit this requested behavior, so we would still be conforming to the standards while making this change.

Next steps may involve some research to determine if this behavior should become the default for our component or if it should be an optional configuration and we should confirm with design whether to maintain the current behavior as an option or entirely switch to the new behavior by default.

Mockups or screenshots

Current state:
Screenshot 2024-10-15 at 17 03 43

Requested state:
Screenshot 2024-10-15 at 17 09 30

Implementation notes or ideas

No response

@rubencarvalho rubencarvalho added enhancement New feature or request triage An issue needing triage needs jira ticket labels Oct 15, 2024
@najikahalsema najikahalsema added jira ticket created and removed triage An issue needing triage needs jira ticket labels Oct 23, 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

2 participants