Opened 9 years ago
Closed 9 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: |
Description
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)
Change History (2)
Changed 9 years ago by
Attachment: | 13765.html added |
---|
comment:1 Changed 9 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Seems to work for me. Please attach an HTML file showing the failure.
Note: See
TracTickets for help on using
tickets.
test file showing that it works