Replies: 1 comment 1 reply
-
yes, good point. So the default action of selecting a suggestion will take place only while the list of suggestions is open. This will be implemented in the next release.... Thank you! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using preventDefault() for the tab key in https://github.com/digitalfortress-tech/typeahead-standalone/blob/master/src/typeahead-standalone.ts#L435 breaks form usability (I normally use tab to go from one form field to the next).
How about only calling preventDefault() when there is actually a value to set (e.g. when the list is open and has matching values). This way, the first pressing of tab key completes, the second time one presses the tab key, the default is executed and the browser moves the cursor to the next field.
Beta Was this translation helpful? Give feedback.
All reactions