Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

stop style validations from Angular-auto-validate plug-in

Tags:

angularjs

I am working on an angular application where we are using this [Angular-Auto-Validate] plug for form validations. This plug-in works automattically with all type of form validation which is quiet easy to use but we are facing an issue with this.

We want to stop validate to bootstrap style validations. It keeps us giving this error message.

Angular-auto-validate: invalid bs3 form structure elements must be wrapped by a form-group class

as per the plug-in documentation we added this few configurations but seems like we are doing something wrong.

validator.setValidElementStyling(false);
validator.setInvalidElementStyling(false);
like image 523
Ravi Mittal Avatar asked Mar 04 '26 14:03

Ravi Mittal


1 Answers

This will be resolved if you place all your form inputs inside a form-group class. here is example.

  <div class="form-group">
      <input type="text"........../>
 </div>
like image 126
Auro Sarma Avatar answered Mar 06 '26 04:03

Auro Sarma