Clearing combobox value is problematic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.4 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Evergreen 3.5
For Angular comboboxes that use synchronous data sources, once a type action has occurred in the combobox, the only way to clear the value is to clear the input then mouse-click elsewhere in the page. If you tab out of the input, the first value in the list of options is automatically selected.
This is a result of the fact that we "open" the combobox completely when when the value is cleared. Once the combobox has a list of values to chose from (even though the value in the input is an empty string), the typeahead logic takes over, and any attempt to tab out of the box results in the first item in the list getting selected.
The solution (or at least a solution) is to avoid displaying the full list of options when the input value is empty. To see all options the user can still click on the combobox or start typing to find matches as usual.
Patch coming.
Changed in evergreen: | |
milestone: | 3.5.0 → 3.5.1 |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Patch:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1882591- combobox- empty-value- tab