I created this NumberSpinner widget:
<input name="form_action_fy" id="form_action_fy" value="2010" data-dojo-type="dijit.form.NumberSpinner" data-dojo-smallDelta="1" data-dojo-largeDelta="1" data-dojo-constraints="{min:2010,max:2030,places:0}" />
When I load the page, the widget shows as expected. However, there are several problems:
The value is empty, not 2010.
When I click on the decrease button on an empty widget, I get 9000000000000000, and when I increase on an empty widget, I get -9000000000000000. He does not follow the min / max guidelines.
Both Little Delta and Big Delta do not work either.
What am I doing wrong here?
Thanks Eric
user290043
source share