Ticket #6269 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 7 months ago

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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 3 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to wontfix

Just bind to the keypress and call form.submit() yourself.

comment:2 Changed 7 months ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.