1 define("dijit/form/ComboBox", [
2 "dojo/_base/declare", // declare
5 ], function(declare, ValidationTextBox, ComboBoxMixin){
10 return declare("dijit.form.ComboBox", [ValidationTextBox, ComboBoxMixin], {
12 // Auto-completing text box
15 // The drop down box's values are populated from an class called
16 // a data provider, which returns a list of values based on the characters
17 // that the user has typed into the input box.
18 // If OPTION tags are used as the data provider via markup,
19 // then the OPTION tag's child text node is used as the widget value
20 // when selected. The OPTION tag's value attribute is ignored.
21 // To set the default value when using OPTION tags, specify the selected
22 // attribute on 1 of the child OPTION tags.
24 // Some of the options to the ComboBox are actually arguments to the data