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.

ngAnimate messing with validation classes #12266

Closed
@crisbeto

Description

@crisbeto

Since 1.4.0, ngAnimate has been messing with the way ng-valid/ng-invalid classes are being applied. Here's a plunker with an example (forked from the official email example): http://plnkr.co/edit/THMRi4lrFoVUMOFsmeli?p=preview

To reproduce, try entering any random value whose length is divisble by 3 (e.g. "123"). Note that the input and the form have the ng-valid class, in addition to ng-invalid-email, even though the value isn't a valid email. The correct behavior is for them to both be ng-invalid.

The problem gets solved if ngAnimate gets commented out from the dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions