NumberSpinner (and NumberTextBox) cannot have an initial value of 0
This code results in a blank number spinner, and when it's wrapped in an InlineEditBox?, it shows NaN. You cannot spin up or down until you type a number:
<input dojoType="dijit.form.NumberSpinner?" name="project_budget" id="proj_budget" value="0" size="4" smallDelta="0.25" largeDelta="4" constraints="{min:0, max:1000, places:'2'}"/>
This appears to be a regression of #3164.
This works in 0.9, broken in head.
Change History (6)
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Owner: |
set to Douglas Hays
|
Milestone: |
→ 1.0
|
Summary: |
NumberSpinner (and NumberTextBox) cannot have a default value of 0 →
NumberSpinner (and NumberTextBox) cannot have an initial value of 0
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
Dijit →
Dijit - Form
|
this one looks more like a dup