#11970 closed defect (fixed)
ValidationTextBox: change Warning state to Incomplete
Reported by: | Douglas Hays | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Dijit - Form | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Change History (7)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|---|
Status: | new → assigned |
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 10 years ago by
comment:5 Changed 10 years ago by
(In [23243]) Make Form take advantage of "Incomplete" / "Error" / "" form widget state changes to recompute state of Form itself.
Since each child widget keeps track of it's state there's no need for the _invalidWidgets array in Form anymore; I think performance is OK without it.
comment:7 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
Thanks. This will allow Form to easily compute Form.state from it's children's states, and to use child.watch() to detect changes in the children's states.
The other thing is that the comment (in ValidationTextBox.js, Select.js) suggests that state == "Normal" when the widget is not in an error / incomplete state, probably you just want to update that to say that it's "". (In any case the comment should be consistent w/the behavior.):