Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#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:

Change History (4)

comment:1 Changed 4 years ago by Scott González

Priority: minormajor
Status: newopen

comment:3 Changed 3 years ago by David Petersen

Resolution: fixed
Status: openclosed

Spinner: Don't change value when changing min/max options

Fixes #9703 Closes gh-1252

Changeset: 796a8b37e2b7eae6aa0f7a2fcaa5d8c29331e857

comment:4 Changed 3 years ago by Scott González

Milestone: none1.11.0
Note: See TracTickets for help on using tickets.