SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 84 JavaScript

feat(input[range]): support step

Step support works like min / max, but with the following caveat.
Currently, only Firefox fully implements the spec. Other browsers
(Chrome, Safari, Edge) have issues when the step value changes
after the input has been changed. They do not adjust the input value
to a valid value, but instead set the stepMismatch validity state.

Angular will take this validity state, and forward it as the ngModel
"step" error. Adjusting the error ourselves would add too much code,
as the logic is quite involved.
M
Martin Staffa committed
8a9cd3e01d04dbeb3c8102f6f4c8e463702d73e0
Parent: 9ea37de
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 11/24/2016, 9:27:54 AM