#9703 closed bug (fixed)
Spinner: Don't change value when min/max changes
Reported by: | tj.vantoll | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.11.0 |
Component: | ui.spinner | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
For consistency with the native <input type="number">
, we should not change a spinner <input>
's value
when its min
or max
options change - even if the value
becomes invalid. We should also not trigger a change
event.
Here's some examples of the current native and jQuery UI behavior:
- Native: http://jsfiddle.net/tj_vantoll/wLe4b/
- jQuery UI: http://jsfiddle.net/tj_vantoll/zZVfG/
Change History (4)
comment:1 Changed 9 years ago by
Priority: | minor → major |
---|---|
Status: | new → open |
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Spinner: Don't change value when changing min/max options
Fixes #9703 Closes gh-1252
Changeset: 796a8b37e2b7eae6aa0f7a2fcaa5d8c29331e857
comment:4 Changed 9 years ago by
Milestone: | none → 1.11.0 |
---|
Note: See
TracTickets for help on using
tickets.
Pull request https://github.com/jquery/jquery-ui/pull/1252