-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
"Other" option after an empty search #498
Comments
I'm currently looking through the issue backlog, but I'm interested in something like this. Basically we have a number of options users can select but they can add their own if it is not listed. |
It is currently possible to do this in a hackish way:
Perhaps the simplest solution is to provide a few more callbacks, including one for what to do if no match is found. |
Check out #166. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a search returns no results, is there a way to make the dropdown default to an option labelled "Other" rather than the "No results match..." message?
This is for a country dropdown, but we don't want to list every single country. When the Other option is selected, an event will make a text field visible beneath the dropdown for the user to type their country (just to explain the context!)
Thanks
The text was updated successfully, but these errors were encountered: