Ticket #6055 (closed bug: fixed)
Autocomplete: Selecting an item by pressing enter submits the form in Opera
| Reported by: | can3p | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.8.6 |
| Component: | ui.autocomplete | Version: | 1.8.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
If I enter a text in input, select item from autocomplete list and press enter, form is submitted in opera. To prevent it additional keyPress event should be added
Change History
comment:2 Changed 3 years ago by scott.gonzalez
- Priority changed from minor to major
- Summary changed from keyDown event doesn't prevent form from submit to Autocomplete: Selecting an item by pressing enter submits the form in Opera
- Milestone changed from TBD to 1.9
comment:3 Changed 3 years ago by scott.gonzalez
- Status changed from new to closed
- Resolution set to fixed
Fixed in c3b282f.
comment:5 Changed 3 years ago by Dmitry Petrov
Autocomplete: Prevent keypress events caused by enter key when selecting an item. Fixes #6055 - Autocomplete: Selecting an item by pressing enter submits the form in Opera.
Changeset: c3b282fceb8b5161c013575bf01c652d6573d72e
Note: See
TracTickets for help on using
tickets.


I've made a fix for the bug: http://github.com/can3p/jquery-ui/commit/19f535f0400bfafe8297026671dcb5cc6ac572a0