Roy Truelove Roy Truelove - 1 year ago 108
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?

Answer Source

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?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download