Opened 7 years ago

Closed 7 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)

bugtest.html (1.6 KB) - added by bbroeksema 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by bbroeksema

Attachment: bugtest.html added

comment:1 Changed 7 years ago by Douglas Hays

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'"

comment:2 Changed 7 years ago by Douglas Hays

Resolution: invalid
Status: newclosed

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.