-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Autocomplete] Ability to add an Add button with multiple + freeSolo #18223
Comments
Would this proposal fix the issue? #18113 (comment) |
@andreasheim Random question, is this deployed in moz.com? We have a paid subscription to ahrefs.com, but maybe there is a chance we can get a free moz.com account and transition? 😁 |
@oliviertassinari Yes, that proposal would enable me to create the functionality I'm seeking. Also yes, I'm working on using this in moz.com. I forwarded this. |
@andreasheim Awesome, let's make the input value controllable then :) (thanks for forwarding). |
Wouldn't it be so much better to use the "noOptionsText"? |
Summary 💡
I would like to either
On a separate note, it'd be nice to optionally being able to show the up/down chevron when freeSolo is on.
Examples 🌈
I'm replacing existing autocomplete components in our app that use outdated technology
Motivation 🔦
We have users who do not understand that you can add multiple values into an
<Autocomplete>
by hitting enterWhen entering a value not in the list of options, there's no indication that this an input that allows you to enter multiple values, as the dropdown is closed.
I was able to get this partially to work.
onChange
on the TextInput to get the current input valueprops.onChange(props.value.concat(inputValue)
)However then I'm not able to clear the input value.
I might be missing something obvious that's already in place.
Thank you, love what you're doing
The text was updated successfully, but these errors were encountered: