Ticket #5453 (closed bug: fixed)
Autocomplete: combobox demo doesn't remove invalid values
| Reported by: | joern.zaefferer | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.8.3 |
| Component: | ui.autocomplete | Version: | 1.8 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
comment:2 Changed 3 years ago by joern.zaefferer
- Status changed from new to closed
- Resolution set to fixed
comment:4 Changed 3 years ago by scott.gonzalez
- Status changed from closed to reopened
- Resolution fixed deleted
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 3 years ago by scott.gonzalez
- Status changed from reopened to closed
- Resolution set to fixed
- Milestone changed from 1.8.1 to 1.9
Fixed in c2c09e8.
comment:7 Changed 3 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


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