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.

Type="number" input field min/max length validator broken #8292

@mZbZ

Description

@mZbZ

Input field of type "number" break the min/max length validators. The issue was present in both 1.3.0-beta.15 and 1.3.0-beta.16 on both firefox and chrome.

Compare here against type="text" behaviour, Plunker

Adding a toString() call to the input value before comparison in the minLengthDirective and maxLengthDirective methods fixed the issue for me.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions