Search and Top Navigation
#6269 closed enhancement (wontfix)
Opened November 05, 2010 05:28PM UTC
Closed November 05, 2010 05:58PM UTC
Last modified October 11, 2012 09:15PM UTC
Option to make Autocomplete behave more like 'Google suggest'
Reported by: | mbrandon | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.autocomplete | Version: | 1.8.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I believe it would be helpful to provide an autocomplete option that prevents it from overriding the default action. In some cases it is desirable for the user to simply enter text, hit return, and expect to immediately submit the value entered. This seems easy to implement. I did it by deleting '&& c.preventDefault' for the ENTER and NUMPAD_ENTER case.
Just bind to the keypress and call form.submit() yourself.