Roy Truelove Roy Truelove - 8 months ago 44
AngularJS Question

Disabling form validation

is running my forms through the
(eg tracking pristine, dirty, etc). I don't need this functionality; I'm sure it's adding overhead to my

How can I shut it off?


AFAIK there is no simple switch to turn off AngularJS validation. Actually most of the validation happens in the NgModelController and input directives - basically code in the input.js file. So, to get rid of the built-in validation you would have to re-develop code from this file (plus some others, like select).

Did you identify validation code as a performance bottleneck in your application?