Topic: Angular forms succes and wrong feedback

Henrik_oellgaard pro asked 4 years ago


Hi, when I use forms with Angular I get really annoying success or wrong messages. They seem misplaced for my use and . Can I disable them? I would've like to put in a screencap but I don't seem to be able to. Thx for your help
Start your code here
HMTL:
<divclass="md-form"> <iclass="fa fa-user prefix grey-text"></i> <inputtype="text"formControlName="orangeFormCompany"id="orangeForm-company"class="form-control"mdbInputDirective> <labelfor="orangeForm-company">Company Name</label> </div> TS constructor(private fb: FormBuilder) { this.registerForm=fb.group({ orangeFormName: ['', Validators.required]}); etc.

Damian Gemza staff commented 4 years ago

Dear Henrik, please try to add [mdbValidate]="false" to your input element, and check if this solves your problem! Best Regards, Damian

Henrik_oellgaard pro commented 4 years ago

Fixed it! thx for your very fast reply :)


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: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags