Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#5453 closed bug (fixed)

Autocomplete: combobox demo doesn't remove invalid values

Reported by: Jörn Zaefferer Owned by:
Priority: major Milestone: 1.8.3
Component: ui.autocomplete Version: 1.8
Keywords: Cc:
Blocked by: Blocking:

Description

The select-event is only triggered with a valid selection. Probably need to use change instead to catch invalid inputs and drop those.

Change History (7)

comment:1 Changed 13 years ago by Jörn Zaefferer

Blocked by #5490 - using change instead of selected breaks the combobox completely.

comment:2 Changed 13 years ago by Jörn Zaefferer

Resolution: fixed
Status: newclosed

comment:3 Changed 13 years ago by rdworth

Milestone: 1.91.8.1

comment:4 Changed 13 years ago by Scott González

Resolution: fixed
Status: closedreopened

From aaronbarker:

If you type in something like "java", select the item you want and then hit return, the item you selected is placed in the field and your cursor is left in place. You can now type additional characters before leaving the field that are not removed.

comment:5 Changed 13 years ago by Scott González

Milestone: 1.8.11.9
Resolution: fixed
Status: reopenedclosed

Fixed in c2c09e8.

comment:6 Changed 13 years ago by Scott González

Milestone: 1.91.8.3

comment:7 Changed 12 years ago by Scott González

Autocomplete: Clear selectedItem property whenever the user types something. Also updated combobox to clear the select element when clearing the text element. Fixes #5453 - Autocomplete: combobox demo doesn't remove invalid values.

Changeset: c2c09e89538ce071efba7ca1e923b5627c236f8c

Note: See TracTickets for help on using tickets.