Ok, I figured out that there is a problem with ng-model naming. When I
append field with e.g. ng-model named "date", then remove it and append new
field with exactly the same name, ng-form "remembers" somehow value of that
previous field. Is there any possible way to remove old ng-model? Something
like removing all models from ng-form and append new one?

Regards

P.S. link to fiddle works, I don't know why you can't open it -
http://jsfiddle.net/mciastek/e3bd0sme/

2015-06-16 12:06 GMT+02:00 Sander Elias <[email protected]>:

> Hi MiroSlaw,
>
> hmm, as it apears the link I gave you was dead, try this one instead:
> https://docs.angularjs.org/api/ng/type/form.FormController
> You can use the $setPristine, and combine it with $setValidity, and do
> what you need to do.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/MMvfII7VjJg/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

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