#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
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 13 years ago by
Milestone: | 1.9 → 1.8.1 |
---|
comment:4 Changed 13 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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
Milestone: | 1.8.1 → 1.9 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Fixed in c2c09e8.
comment:6 Changed 13 years ago by
Milestone: | 1.9 → 1.8.3 |
---|
comment:7 Changed 12 years ago by
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
Blocked by #5490 - using change instead of selected breaks the combobox completely.