Skip to content
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
@Mouvedia

Description

@Mouvedia

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:

  1. enter a float value
  2. check validity.stepMismatch of the input (true)
  3. check lack of ng-invalid class on the input

Affected version: 1.3.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions