ComboBox.js.uncompressed.js 977 B

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