Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#10955 closed defect (fixed)

[cla][patch] NumberSpinner 'HOME key' ignores zero value

Reported by: Jonathan Bond-Caron Owned by: Douglas Hays
Priority: high Milestone: 1.5
Component: Dijit - Form Version: 1.4.0
Keywords: a11y keyboard Cc: Becky Gibson
Blocked By: Blocking:


When setting constraints={min:0, max:60},

Hitting the 'HOME' key will not work. This is because the value 0 is ignored.

I also noticed the onChange() event is called when 'HOME' or 'END' key is hit...

This should not happen until the form widget is out of focus... onBlur()

Attachments (1)

NumberSpinner_keys.patch (707 bytes) - added by Jonathan Bond-Caron 12 years ago.
Allow zero value on HOME or END key

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by Jonathan Bond-Caron

Attachment: NumberSpinner_keys.patch added

Allow zero value on HOME or END key

comment:1 Changed 12 years ago by Adam Peller

Cc: Becky Gibson added
Component: GeneralDijit
Keywords: a11y keyboard added
Owner: changed from anonymous to Douglas Hays

comment:2 Changed 12 years ago by Douglas Hays

Milestone: tbd1.5

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [21856]) Fixes #10955. Changed sanity check for value to include type==number and changed HOME/END to not fire onChange immediately.

comment:4 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.