I have an input tag which is bound to a scope variable by ng-model. All such input tags get validated and I wrote some custom styling for ng-valid etc. But now I want just one input tag which should not do anything after typing. Old school input tag per se with ng-model binding. How do I prevent the validation on such an element?
%form
%input(ng-model='searchText')
I tried the novalidate tag on the form but it is only to prevent HTML5 validation I guess. Could not find anything else.. Any help ppl?
input.ng-valid.ng-dirty{//css here}I am having to add another dummy class 'novalidate' and add that to make the css more specific.