Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#9714 closed defect (fixed)

FilteringSelect does not recognize an option suffixed with '*' to be selected onChange or onBlur

Reported by: dmorgant Owned by: Douglas Hays
Priority: low Milestone: 1.1
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

When a FilteringSelect? widget has a display value that matches another except that it is suffixed with "*", the suffixed value cannot be selected.

For example, if the options have display values "value", "value*", "value", each with a unique "hidden" value, after the user selects "value*" or "value" from the dropdown list, the value reverts back to "value". This happens on all browser and all platforms. I have the specified 'ignoreCase = false' in the definition of the filtering select following recommendation from ticket #9537.

To recreate, I added the following lines to the first filteringSelect in test_FilteringSelect.html:

<option value="AK">Alaska</option> <option value="AD">Alaska*</option> <option value="AW">Alaska</option>

When I select 'Alaska*' or 'Alaska' the "onChange" textbox correctly shows the value of the selection ('AD' or 'AW'). However, when I click outside of the selection box on some white space, the filteringSelect changes to 'Alaska' and the "onChange" textbox value to 'AK'.

Change History (3)

comment:1 Changed 10 years ago by bill

Owner: set to Douglas Hays

comment:2 Changed 10 years ago by Douglas Hays

Milestone: tbd1.1
Resolution: fixed
Status: newclosed
Summary: ComboBox and FilteringSelect does not recognize an option suffixed with '*' to be selected onChange or onBlurFilteringSelect does not recognize an option suffixed with '*' to be selected onChange or onBlur

Already fixed by [11942] in Dojo 1.1.

comment:3 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.