#3680 closed enhancement (fixed)
[patch][cla] ComboBox should allow an initial query to restrict the items included.
Reported by: | Mignon Belongie | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Dijit - Form | Version: | 0.9 |
Keywords: | ComboBox | Cc: | |
Blocked By: | Blocking: |
Description
It would be useful to be able to specify an initial query along with the data store when instantiating a ComboBox?.
I'm attaching a patch for ComboBox?.js that enables this, and also one for test_ComboBox.html with a new test. For the latter test to work, it will also be necessary to make a copy of dojo estsdatageography_hierarchy_large.json in dijit estsform.
Attachments (2)
Change History (5)
Changed 14 years ago by
Attachment: | ComboBox.patch added |
---|
Changed 14 years ago by
Attachment: | test_ComboBox.patch added |
---|
comment:1 Changed 14 years ago by
Milestone: | → 1.0 |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
(In [9579]) fixes #3680 Made it possible to set an initial query that the ComboBox? uses when fetching items from the datastore. (After checking with Bill, I used the keyword 'query', to match what Tree already uses, rather than the keyword 'initialQuery' that was supplied in the patch.)