#7264 closed bug (fixed)
Spinner returns values beyond min and max, off by one
Reported by: | ryanneufeld | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | git |
Component: | [meta] ui.dev | Version: | git (not yet released) |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See: http://jsfiddle.net/ryanneufeld/m57gP/
When using the spinner if you continue to hit up/down when at the min/max, you get min-1 and max+1 returned in ui.value.
It's expected that when at the min value, min should be returned via the spin callback.
Change History (5)
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Why is this marked as invalid?
All the places on the jqueryUI site show to report them here... I'm confused.
comment:3 Changed 11 years ago by
See http://blog.jqueryui.com/2010/11/jquery-ui-1-9-milestone-3-spinner/ How To Provide Feedback section
comment:4 Changed 11 years ago by
Resolution: | invalid → fixed |
---|
Spinner: modified _spin and _setOption to call new method _trimValue to check for min/max values. Fixed #7264 - Spinner returns values beyond min and max, off by one
Changeset: b0182d78229058fdf61d5f9c3b8a66617d056f30
comment:5 Changed 11 years ago by
Component: | ui.core → [meta] ui.dev |
---|---|
Milestone: | 1.9 → git |
Version: | → git |
Thanks, but we don't use the bug tracker for plugins that haven't been released yet. I've copied the content of this ticket to the appropriate place: http://wiki.jqueryui.com/w/page/12138077/Spinner#comment1303701545