input is highlighted even for custom css for class ng-invalid

300 views
Skip to first unread message

pVelicherla

unread,
Jan 13, 2012, 4:26:40 AM1/13/12
to ang...@googlegroups.com
Hi,

I don't want to highlight the input which is invalid . is there any way to achive it in angular. Pleas find the code in bellow url

If U see in example the second input is having the border red. How to avoid it.

http://jsfiddle.net/ZSMTu/3/

Misko Hevery

unread,
Jan 13, 2012, 2:03:14 PM1/13/12
to ang...@googlegroups.com
input validation has been reworked to be more flexible in 0.10.x branch, from your question I am assuming that you are still on the 0.9.x branch. What you can do is to set your own CSS class for ng-class. Did you try it? did that not work? 


--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/pSSSGUu6BTsJ.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.

Reply all
Reply to author
Forward
0 new messages