Opened 9 years ago
Closed 9 years ago
#9915 closed bug (notabug)
Min/max constraint should be validated on blur
Reported by: | jeger | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.spinner | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If you manually enter a number into the input field outside the min/max bounds, the value should be adjusted on blur.
Example: Spinner is constrained to range 0-10. Type e.g. '50' into the spinner and tab to the next input field:
Note: See
TracTickets for help on using
tickets.
The native
<input type="number">
control does not work this way, and it's easy to add this behavior yourself: http://jsfiddle.net/tj_vantoll/34TZA/.