NumberTextBox: parse errors
Run dijit/tests/form/test_Spinner.html
In the last widget, enter 99 and press TAB. This should be flagged as an error since places=1 but it's accepted and .0 is appended.
In the next-to-last widget, type 156.0 and press TAB. Ths should be invalid and left alone, but it's reformatted as 156 without the .0
Attachments (1)
-
10461.patch (4.4 KB) - added by Douglas Hays 11 years ago.
-
Fixes regexp that was incorrectly checking for exponential notation. Add exponential check to format and _setValueAttr methods. Add automated tests.
Download all attachments as: .zip
Change History (3)
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
Dijit →
Dijit - Form
|
Fixes regexp that was incorrectly checking for exponential notation. Add exponential check to format and _setValueAttr methods. Add automated tests.