Closed
Description
form.$setPristine() do not work, since it only setup $pristine on all inputs, but angular-schema-form use some decorator scope to check the ngModel's $pristine status.
I guess either because the scope, or the way form.$setPristine() does not set $pristine of the model caused the problem. But how to resolve it?
I do not want the green border when the form loaded with existed model data. how to do that?