Remove data-error and data-success


Topic: Remove data-error and data-success

ewgiddings asked 6 years ago

How do I remove the data-error and data-success on form input? I want it to still get small and animate, but I do not want it to say "success" or "wrong" or change color.

ewgiddings answered 6 years ago

<div class="md-form w-100"> <iclass="fa fa-envelope prefix grey-text d-none d-sm-block"></i> <inputdata-error=""data-success=""type="text"id="Form-username"name="username"class="form-control"mdbInputDirective[(ngModel)]="model.username"> <labelfor="Form-username">Username</label> </div>

ewgiddings answered 6 years ago

That is what I have in my html right now. I do not want it to turn green. I do not want it to say any words.

Arkadiusz Idzikowski staff answered 6 years ago

Dear ewgiddings, Please use [validateSuccess]="false" and [errorMessage]="' '" inputs. Regards, Arek
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: Surface
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags