Topic: Angular MDB Bootstrap autocomplete label not positioned right when bound to object
Witold Tkaczyk answered 7 years ago
[ngClass]="{ 'active': productData.releaseDate}"
to your mdb-completer so it should look like this:
<div class=”md-form form-sm”> <mdb-completer [label]=”‘Month'”name=”month” [ngClass]="{ 'active': productData.releaseDate}" [(ngModel)]=”productData.releaseDate" [datasource]=”months” [minSearchLength]=”0″> </mdb-completer> </div>I hope it helps Regards
rctoone pro commented 7 years ago
thanks, By adding the class active it is now working properlyWitold Tkaczyk answered 7 years ago
rctoone pro commented 7 years ago
Not sure where to send them too so here is a link to get to them. https://drive.google.com/open?id=0B8XfMmUFRKpIT0tmZ1l6VF96b2MFREE 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
rctoone pro commented 7 years ago
I have created a google doc that shows the issue more visually if this helps: https://docs.google.com/document/d/1q410eXiJC-PhyISZJKKEPGp5J2lNpUVZKT434wuHz1k/edit?usp=sharing