I have a form with nested ng-forms where on each key press user make script 
append a compiled form fields (like ui-select, ui-datepicker, etc.) to 
container with ng-form directive. I'm sure that's not the problem with 
$scope.$apply().

How can I trigger validation after content is replaced in ng-form?

JSfiddle demo <http://jsfiddle.net/mciastek/e3bd0sme/>

If you want to reproduce the bug, append field by typing into textarea word 
"date", then remove appended field value, remove word "date" from textarea 
and type new one to refresh date field.


Regards

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to