| 1 | define([ |
| 2 | "dojo/_base/declare", // declare |
| 3 | "./ValidationTextBox", |
| 4 | "./ComboBoxMixin" |
| 5 | ], function(declare, ValidationTextBox, ComboBoxMixin){ |
| 6 | |
| 7 | // module: |
| 8 | // dijit/form/ComboBox |
| 9 | |
| 10 | return declare("dijit.form.ComboBox", [ValidationTextBox, ComboBoxMixin], { |
| 11 | // summary: |
| 12 | // Auto-completing text box |
| 13 | // |
| 14 | // description: |
| 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. |
| 23 | // |
| 24 | // Some of the options to the ComboBox are actually arguments to the data |
| 25 | // provider. |
| 26 | }); |
| 27 | }); |