You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(input): fix step validation for input[type=number/range]
Previously, the validation would incorrectly fail in certain cases, due to
Floating Point Arithmetic limitations. The previous fix for FPA limitations
(081d06f) tried to solve the issue by converting the numbers to integers,
before doing the actual calculation, but it failed to acount for cases where the
conversion returned non-integer (again due to FPA limitations).
This commit fixes it by ensuring that the values used in the final calculation
are always integers.
Fixesangular#15504
0 commit comments