Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#8875 closed defect (fixed)

ComboBox changes the value when the arrow is clicked if queryExpr is "*${0}*"

Reported by: Phil DeJarnett Owned by: Douglas Hays
Priority: high Milestone: 1.4
Component: Dijit - Form Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:


Minor bug in ComboBox?.js - if the queryExpr is "*${0}*" (meaning, search in the middle), clicking on the arrow automatically selects the first item, often replacing whatever was previously selected.

Solution: Either replace line 327 with: (dataObject.query[this.searchAttr] != "*") && (dataObject.query[this.searchAttr] != "")){

or (probably preferably), change the test to use the queryExpr itself.

Change History (3)

comment:1 Changed 13 years ago by Douglas Hays

Component: GeneralDijit
Milestone: tbd1.4
Owner: changed from anonymous to Douglas Hays

comment:2 Changed 13 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [17287]) Fixes #8875. Changed test for * to allow for multiple *'s.

comment:3 Changed 11 years ago by bill

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