This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
step attribute doesn't trigger validity classes #10597
Closed
Description
When you are using step="1"
a float value enables validity.stepMismatch
. This is not reflected by the ng classes on the input.
e.g.
<input ng-model="example" type="number" step="1" />
steps to reproduce:
- enter a float value
- check
validity.stepMismatch
of the input (true) - check lack of ng-invalid class on the input
Affected version: 1.3.5