Hi,
I really like this solution to validate a form. Just one thing is missing for my usecase. I need to set the form back to prestine state (meaning potentially error/success marks should be removed) in some cases. What would be the best way to achive this? With “normal” angular validation I just used
$scope.myFormName.$setPristine();
So in that case the class “has-success” or “has-error” should be removed form the label.
Thx