Topic: Incorrect placeholder position in forms
Arkadiusz Idzikowski staff answered 6 years ago
aionys pro commented 6 years ago
It's the first image <a href="http://prntscr.com/ka9e56"" rel="nofollow">http://prntscr.com/ka9e56</a>. I tried to use mdbInputDirective, but result look something like this <a href="http://prntscr.com/ka9fgv</a>" rel="nofollow">http://prntscr.com/ka9fgv</a>. Its the part of code <form *ngIf="!submitted" [formGroup]="loginForm" novalidate (ngSubmit)="onSubmit()"> <div class="md-form"> <i class="fa fa-user prefix grey-text"></i> <input type="text" id="username" class="form-control" formControlName="username" mdbInputDirective> <label for="username">Логин</label> </div> </form> How to deactivate validation?Arkadiusz Idzikowski staff commented 6 years ago
Dear aionys, Add [mdbValidate]="false" to your input. Best, Arekaionys pro commented 6 years ago
It's help, thank you!FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No