#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: |
Description
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
Component: | General → Dijit |
---|---|
Milestone: | tbd → 1.4 |
Owner: | changed from anonymous to Douglas Hays |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 11 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
(In [17287]) Fixes #8875. Changed test for * to allow for multiple *'s.