#6398 closed enhancement (fixed)
Spinner: Pressing increment/decrement button does nothing when value is blank
Reported by: | Joseph Scheuhammer | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit - Form | Version: | 1.1.0 |
Keywords: | Cc: | davidb, Becky Gibson | |
Blocked By: | Blocking: |
Description
Somewhat odd behaviour: If the text box component of a Spinner is blank, clicking and pressing the increment or decrement buttons do nothing, but they do appear pushed down.
If activated via the keyboard (up and down arrow keys), again the arrow buttons appear depressed, but the value of the spinner does not change -- the text box remains blank.
Suggestion: if blank and decrementing, show the spinner's maximum, and decrement it; if incrementing, show the spinner's minimum and increment it.
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Owner: | set to Douglas Hays |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 11 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
From the meeting, we were worried about when min and/or max isn't specified... Doug suggested that if no min, use max and vis-a-versa, and if neither, use 0.