Opened 9 years ago
Closed 9 years ago
#15795 closed defect (invalid)
FilteringSelect/ComboBox does not query properly when a ItemFileReadStore is set
Reported by: | bbroeksema | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Dijit - Form | Version: | 1.7.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
See the attached file for the particular issue.
It basically drills down to this:
When a ComboBox? (or FilteringSelect? for that matter) is created with a Memory store *and* a query function is set, items in the combobox will be filtered properly. However, when the combobox is created with a ItemFileReadStore?, the query function is passed by for reasons unclear to me.
Attachments (1)
Change History (3)
Changed 9 years ago by
Attachment: | bugtest.html added |
---|
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
ItemFileReadStore does not support typeof query == Function. It should be key/value pairs like { name: 'a*' }. Refer to dojo/data/api/Read.js for a description of the dojo/data query object.
Note: See
TracTickets for help on using
tickets.
From bbroeksema, "the one with the ItemFileReadStore will show all items (i.e. does not use the query) while the Memory based one will properly filter out items not starting with an 'a'"