Skip to content

ng-if broke the show-errors #54

Description

@morphonet

Hi,

I've been using this directive in many forms, and it works like a charm.

Just one trouble i'm getting is about a form which has 2 states > non editable ; editable.
I'm using a boolean on my controller + ng-if on label & input to show just a static label or an input.

Once a ng-if is added on my input, show-errors directive won't work at all on the field.

I forked the default plunker with an easy example > email input is showed only if Name is filled with something.
http://plnkr.co/edit/4y48oj3xlBptcjqp4rws?p=preview

Any idea on how to keep show-errors working with ng-if ?

Thanks a lot, and keep the good work :-)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions