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.

ngMaxLength with integer only input fails #7848

Closed
@pocesar

Description

@pocesar

ngMaxlength seem to be coercing the input value to int? I have

<input ng-model="user.data.numero" ng-maxlength="8" type="text">

which user.data.numero = 232, and it's failing. if I type "n232" it works. Using latest 1.3.0 beta 12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions