Issue
I am trying to get rid of HTML validation completely. This question would help if I had all inputs inside some forms. But I don't, as with angularjs I only need a form if I want to know if all fields in some set are valid. Moreover, HTML form
elements don't stack, so I'm using ng-form
only.
I actually don't care if the form gets validated or not; I only want to get rid of the red border in Firefox just like in this question. Is there a way how to style the glowing red to zero size or transparency or whatever? In Firefox I can't see it.
Alternatively, is there a possibility to teach angularjs work with some other attribute name rather than required
, so that HTML5 doesn't jump in to visually destroy my page?
Solution
You can use :
:invalid {
box-shadow: none;
}
Answered By - putvande
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.