-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Combobox unique value & autocomplete ☂️ #6102
Comments
I do need this option for a project, would be great to see an implementation! Currently it works really inconsistently:
|
The work my team is doing would greatly benefit from this functionality as well. We'd like to allow the user to type in their own credentials OR select from a list of saved (and encrypted) credentials. We'd also like to indicate when a selection has been made vs user input. In the example below we proposed an icon next to component when a selection is made, but it would be great to have a built in "state" for the two options. |
Issue #6102 and this issue #8170 are related. Both are good options and should be supported. The caveat for retaining a value is the need for validation to ensure the retained value is good. Further along the lines of what the user can type in...., we should have a way to always validate what is typed in. |
The DataStage team would benefit from being able to add unique input values via the combo-box. We have many cases where users have to specify what specific date format to use, and we cannot include every possible date format in the dropdown list. Ideally, we would be able to list commonly used date formats in the dropdown, but users would be able to enter other date formats that aren't part of the default list. |
+1 for this. We required this functionality for a time input control where the user could pick from a list of times or enter a custom time value. We had to copy the component and add the feature in our codebase temporarily to meet a delivery date. Ideally the combobox would support this as it's expected functionality. |
I did this by...
Something that would make this (and other free form find/search components) better, is to set the TYPE of input.
|
@guigueb is your code available to share? |
Auto-complete specs vs Auto-complete implementation so we know what to write about in our website docs. @thyhmdo to surface specs for docs. |
Acceptance criteria
Unique value
Focus state changes
Refactor and Autocomplete
useComboBox
instead of<Downshift>
component #14684The text was updated successfully, but these errors were encountered: