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

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

Activity

  1. shahata commented on Jul 1, 2014

    @shahata
    Contributor

    This is fixed by #7837

  2. btford commented on Jul 8, 2014

    @btford
    Contributor

    Closing as a duplicate. Let me know if this is still an issue with a version of angular including @shahata's fix and I'll re-open it.

  3. jostein-skaar commented on Jul 15, 2014

    @jostein-skaar
    Author

    Very good. Thanks @shahata!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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