Ticket #6379 (new enhancement)
Create a _FormSelectWidget shared class
| Reported by: | toonetown | Owned by: | toonetown |
|---|---|---|---|
| Priority: | low | Milestone: | future |
| Component: | Dijit | Version: | 1.1.0 |
| Severity: | normal | Keywords: | |
| Cc: | bill, wolfram |
Description
As discussed on IRC 1-Apr-08
similar to how _FormValueWidget wraps an html input element, it would be nice to have a _FormSelectWidget which would basically wrap an html select element. It would probably be used as the core for ComboBox?, FilteringSelect?, and MultiSelect? - as well as DropDownSelect? and CheckedMultiSelect? (in dojox.form).
This class could add functions, such as "addOption", "removeOption", "setSelectedValue", etc - that are helpful for working with select-based widgets
It would also provide for specifying "mutliple=true" and then setting multiple values (instead of a single value).
It might also add support for having as a backend some kind of store to keep track of the options.
This ticket is just a place to add comments/thoughts and to track the status (and any patches) moving towards this idea.