Thank you, Sander!  I had that idea on the way home last night and was just 
about to look it up.  BTW, contract we use told me manually sets some of 
the form validation values to deal with similar issues.  Is that a best 
practice, e.g., setting pristine when he knows the form is untouched?

Regards,

Ken


On Tuesday, June 30, 2015 at 8:43:40 PM UTC-7, Sander Elias wrote:
>
> Hi Ken,
> .
> You can use a combined selector to cancel out the invalid styling.
> something like:
>
> .ng-invalid {
>     border:2px solid red;
> }
> .ng-invalid.ng-pristine {
>     border:1px solid black;
> }
>
>
>
> You can see it in action here 
> <http://plnkr.co/edit/8rd5PRKAJ24oU6U7CooZ?p=preview>
>

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