Ticket #6382 (closed defect: fixed)
reset() on FilteringSelect not allowed if no "initial value" given
| Reported by: | wolfram | Owned by: | haysmark |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Dijit | Version: | 1.1.0 |
| Severity: | normal | Keywords: | |
| Cc: | nathan |
Description
When calling reset() on a FilteringSelect? that has no option with the attribute "checked" styles the field as error.
reproduce:
- example http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_FilteringSelect.html
- choose a state form "state list 2:"
- and calling "dijit.byId("setvaluetest").reset()" in firebug then makes the field turn yellow
is this intended?
I kind of understand the logic, only a valid value can be selected, but after the initial page load no value is selected too, so its possible. and i would expect that to happen on reset() too.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.