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.

input[type="number"] is valid when not a number is entered in Chrome #2144

@4vanger

Description

@4vanger

When entering invalid data into second field in Chrome - second is marked as pristine and valid which is incorrect.
Possible Chrome bug - parser from numberInputType is not invoked when typing non-numerics in Chrome

<input type="text" ng-model="test">
<input type="number" ng-model="test">
{{test}}

live example: http://plnkr.co/edit/fULfvq?p=preview

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions