-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Description
Summary
The input number option data-hs-input-number='{ "max": 10 } does not limit the typed values but only disables the increase button, contrary to the min option that cull values to be inside the defined limits.
Steps to Reproduce
- Go to https://preline.co/docs/input-number.html#maximum-value
- Type a number higher than 10 (the max value set for that input)
- Value is kept on the input even when focus is lost, and only the increase button gets disabled
Demo Link
https://preline.co/docs/input-number.html#maximum-value
Expected Behavior
As it happens with the min option here, the value that the user types should be corrected in real-time to be between the defined limits.
Actual Behavior
No response
Screenshots
No response
Metadata
Metadata
Assignees
Labels
No labels