Mykhailov pro asked 6 years ago


I'd like to use input without any validation. As I understood I need just past:

<div class="md-form">
   <input mdbInputDirective type="text" id="form1" class="form-control">
   <label for="form1" class="">Example label</label>
</div>

And  after it my component html has only this code. TS file is empty too only required minimum (imports, exports, empty constructor and no any lifecycle hook handlers or form validators). Why my input on 'blur' tries to be validated and show this error;

http://prntscr.com/jcpoh7


Sipike pro commented 6 years ago

I found the solution. <input mdbInputDirective [mdbValidate]="false" type="text" id="form1" class="form-control">

Mykhailov pro commented 6 years ago

Thank you!


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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags