Possibility to submit with Enter without selecting #5

Open
bkw opened this Issue Apr 3, 2011 · 2 comments

Comments

Projects
None yet
2 participants

bkw commented Apr 3, 2011

For the use case of search suggestions it would be nice to have an option to submit a search with the enter key even if none of the completion suggestions were selected. Right now that doesn't seem to be possible because keyCode 13 is always caught and resets the textfield.

Or am I missing something?

TIA,
bkw

Owner

laktek commented Apr 3, 2011

keyCode 13's default action is prevented only when there are suggestions.
Will look into a way of giving an option to disable that behaviour.

Lakshan

On Mon, Apr 4, 2011 at 3:00 AM, bkw <
reply@reply.github.com>wrote:

For the use case of search suggestions it would be nice to have an option
to submit a search with the enter key even if none of the completion
suggestions were selected. Right now that doesn't seem to be possible
because keyCode 13 is always caught and resets the textfield.

Or am I missing something?

TIA,
bkw

Reply to this email directly or view it on GitHub:
#5

bkw commented Apr 4, 2011

excellent, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment