-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
enter key not working with typeahead #188
Comments
typeahead is now ignoring the return key completely when :rigid? is set to false and change-onblur? is tue |
Hey, thanks for waiting 5 years for this small fix, haha. I think I know what to do, but it's hard to be sure. Try describing the behavior in a way that's explicit, positive and comprehensive. It's hard to sort out the behavior you want from the nos, buts and implied good/bad statements. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to allow for arbitrary strings as well as suggestions from the typeahead list. It's only possible if the arbitrary string is not a substring of any of the suggestions. There is no response to an enter keypress, but tab works. If there are no possible completions, this will successfully send the arbitrary string. If there are any, it just tabs to the first possible completion and wont pass the arbritary string.
I can see this behaviour on the demo page by setting
rigid? false
andchange-on-blur? true
and trying to pass the string "he". This doesn't work, but passing the string "help-me" does as there are no further completions from that.The text was updated successfully, but these errors were encountered: