-
Notifications
You must be signed in to change notification settings - Fork 408
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
Always show newSelectionPrefix #54
Comments
Thanks for the report/suggestion/request. I see what you're saying. Yeah, I think the current behavior is a borderline bug; it should probably display the new selection option if there's not an exact match, as you describe. I don't think the component should show the option if there is an exact match, though (thus allowing a duplicate entry). Let me know what you think. |
That sounds fair - the new selection should only display if there isn't an exact match found to avoid duplicates. Thanks for addressing this so quickly! |
Fixed in v0.8.4 |
Hey there,
I was wondering if it would be possible to have the "New Selection" always appear, or at least have a prop to toggle the behavior. At the moment, if the value in the Typeahead matches part of one of the options, the new selection bit is left off.
Example: The word "Carpet" is a possible choice for the Typeahead, but the user would like to enter the word "Car" as a new selection, but is unable to since "Carpet" is the only option.
The text was updated successfully, but these errors were encountered: