Opened 10 years ago

Closed 10 years ago

#13765 closed defect (worksforme)

validator property of NumberSpinner not working on IE8

Reported by: mhier Owned by: Douglas Hays
Priority: high Milestone: tbd
Component: Dijit - Form Version: 1.6.1
Keywords: NumberSpinner validator Cc:
Blocked By: Blocking:


I am using a dijit.form.NumberSpinner? with a validator function, i.e.:

<input type="text" name="somename" value="12345" dojoType="dijit.form.NumberSpinner" constraints="{min:1234,max:123456}" format="formatNumber" validator="checkValidity"/>

formatNumber and checkValidity are both functions defined before the element is created. On most browsers this works flawlessly, but on IE 8 a "TypeError?: 'checkValidity' is undefined" is thrown. If I remove the validator property, everything works fine, even the formatNumber function is properly executed.

Attachments (1)

13765.html (1.0 KB) - added by Douglas Hays 10 years ago.
test file showing that it works

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Douglas Hays

Attachment: 13765.html added

test file showing that it works

comment:1 Changed 10 years ago by Douglas Hays

Resolution: worksforme
Status: newclosed

Seems to work for me. Please attach an HTML file showing the failure.

Note: See TracTickets for help on using tickets.