angular custom directive required validation is not updated
Posted
by
Wouter Willems
on Stack Overflow
See other posts from Stack Overflow
or by Wouter Willems
Published on 2013-10-26T21:51:21Z
Indexed on
2013/10/26
21:53 UTC
Read the original article
Hit count: 334
i created my own directive, replacing an input field with a custom made input field. However, the validation of the required field never seems to update and instead is always false.
Other directives inside my directive like ng-class do work.
I have created a plunker here to show this problem:
http://plnkr.co/edit/NuZNAJceL0MVX8i6RK9n?p=preview
Can anybody help me out how to make sure that the required validation is properly updated?
© Stack Overflow or respective owner