Search and Top Navigation
#9915 closed bug (notabug)
Opened March 13, 2014 12:10PM UTC
Closed March 13, 2014 12:21PM UTC
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:
Attachments (0)
Change History (1)
Changed March 13, 2014 12:21PM UTC by comment:1
| resolution: | → notabug |
|---|---|
| status: | new → closed |
The native
control does not work this way, and it's easy to add this behavior yourself: http://jsfiddle.net/tj_vantoll/34TZA/.