angular-bootstrap-show-errors icon indicating copy to clipboard operation
angular-bootstrap-show-errors copied to clipboard

ng-if broke the show-errors

Open morphonet opened this issue 9 years ago • 1 comments

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

morphonet avatar Dec 15 '15 16:12 morphonet

I used ng-show instead

trendzetter avatar Apr 23 '16 15:04 trendzetter