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.

Validation error on a pristine model don't set form $valid to false #8035

Closed
@jostein-skaar

Description

@jostein-skaar

When for instance ng-maxlength="5" and the initial text length is > 5, form.$valid should be false. This works fine in 1.3.0-beta.11, but not in 12 or later.

http://plnkr.co/edit/i6OqLAqoXVCtxXLnGGz6?p=preview

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