source: Dev/branches/rest-dojo-ui/client/dijit/form/ComboBox.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 1.1 KB
Line 
1define([
2        "dojo/_base/declare", // declare
3        "./ValidationTextBox",
4        "./ComboBoxMixin"
5], function(declare, ValidationTextBox, ComboBoxMixin){
6
7/*=====
8        var ValidationTextBox = dijit.form.ValidationTextBox;
9        var ComboBoxMixin = dijit.form.ComboBoxMixin;
10=====*/
11
12        // module:
13        //              dijit/form/ComboBox
14        // summary:
15        //              Auto-completing text box
16
17        return declare("dijit.form.ComboBox", [ValidationTextBox, ComboBoxMixin], {
18                // summary:
19                //              Auto-completing text box
20                //
21                // description:
22                //              The drop down box's values are populated from an class called
23                //              a data provider, which returns a list of values based on the characters
24                //              that the user has typed into the input box.
25                //              If OPTION tags are used as the data provider via markup,
26                //              then the OPTION tag's child text node is used as the widget value
27                //              when selected.  The OPTION tag's value attribute is ignored.
28                //              To set the default value when using OPTION tags, specify the selected
29                //              attribute on 1 of the child OPTION tags.
30                //
31                //              Some of the options to the ComboBox are actually arguments to the data
32                //              provider.
33        });
34});
Note: See TracBrowser for help on using the repository browser.