Number form elements should not use step size for validation
Not plannedFor example, say I wanted to allow users to input a price with a precision of 2 decimals. I would want to be able to accept values like 12.99 as well as 500, but I don't want the arrow buttons to increment the value inside the element by one cent at a time. Presently, typed values to the element that fall outside of the range of step sizes from 0 appears invalid (though the form will still submit). Could we disconnect the step size property from validation?
2
Please sign in to leave a comment.
Comments
0 comments