#4490 closed defect (invalid)
refactor ComboBox hasFocus flag and ValidationTextBox validated(isFocused)
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Dijit - Form | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
ValidationTextBox?.isValid() and similar functions take an isFocused flag, which is strange since the validity of the value is unrelated to whether or not the widget is focused. It's only really displayMessage() that needs to know if the widget is focused or not. Refactor for this.
Change History (2)
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
OK, changed my mind about this one, at least for now. Maybe that flag is useful because while editing an incomplete value shouldn't be considered an error (only when you tab away is an incomplete value an error)