Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng-if broke the show-errors #54

Open
morphonet opened this issue Dec 15, 2015 · 1 comment
Open

ng-if broke the show-errors #54

morphonet opened this issue Dec 15, 2015 · 1 comment

Comments

@morphonet
Copy link

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 :-)

@trendzetter
Copy link

I used ng-show instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants