#4130 closed defect (fixed)
Spinner: displays NaN
Reported by: | haysmark | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Dijit - Form | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In test_Spinner, the Spinner with no attributes displays NaN. This wouldn't be so bad if you could spin out of a NaN. Maybe it should default to 0 so it is usable?
Change History (5)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Luckily this isn't a problem with NumberSpinner?, which displays an empty input field. Technically a spinner could be blank but it's a unusual case so 1.0 is an OK milestone for this.
comment:3 Changed 14 years ago by
Owner: | changed from haysmark to Douglas Hays |
---|
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [10371]) Fixes #4130. Removed value from the Spinner template. Added filter() to NumberTextboxMixin? to change NaN to . Changed test_Spinner.html to have a form field view action.
comment:5 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
Hmm, I thought that an NaN value would display as a blank input area. Especially that's how a plain NumberTextbox? should work, in order to support optional number fields.