Ticket #5919 (closed defect: wontfix)
ValidationTextBox: subclasses return different getValues on invalid
| Reported by: | haysmark | Owned by: | doughays |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Dijit | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by bill) (diff)
If you have a NumberTextBox? and enter some letters, getValue returns NaN as expected. If you give a ValidationTextBox? a regexp of d* (basically making it a NumberTextBox?) and enter some letters, getValue still returns the letters, instead of something like undefined like NumberTextBox?.
We should figure out what these textboxes should be returning when the value is invalid because right now it is inconsistent.
Change History
Note: See
TracTickets for help on using
tickets.