Clearing combobox value is problematic

Bug #1882591 reported by Bill Erickson
6
This bug affects 1 person
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.

Revision history for this message
Bill Erickson (berick) wrote :
tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.4.3
milestone: 3.4.3 → 3.5.0
assignee: Bill Erickson (berick) → nobody
Changed in evergreen:
milestone: 3.5.0 → 3.5.1
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Issue confirmed. And the patch is much better UX for those of us who like to tab around to different fields in forms. Thanks, Bill! Signoff here: user/sandbergja/lp1882591-combobox-empty-value-tab-signoff

Changed in evergreen:
status: New → Confirmed
tags: added: signedoff
Galen Charlton (gmc)
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed to master, rel_3_5, and rel_3_4. Thanks, Bill and Jane!

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Galen Charlton (gmc) → nobody
importance: Undecided → Medium
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.