Opened 12 years ago

Last modified 9 years ago

#4476 closed defect

NumberSpinner (and NumberTextBox) cannot have a default value of 0 — at Version 1

Reported by: John Locke Owned by:
Priority: high Milestone: 1.0
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by John Locke)

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:'0,2'}"/>

This appears to be a regression of #3164.

This works in 0.9, broken in head.

Change History (1)

comment:1 Changed 12 years ago by John Locke

Description: modified (diff)
Note: See TracTickets for help on using tickets.