Topic: mdb-select not rendering properly in a multi-column reactive form
Shajee Lawrence pro asked 6 years ago
Arkadiusz Idzikowski staff answered 6 years ago
mdb-select > div > div.single { padding: 0; height: 38px; }
<div class="mt-0"> <mdb-select [options]="optionsSelect"id="genre" formControlName="testSelect"name="genre"> </mdb-select> <label>Example label</label> </div>
Shajee Lawrence pro answered 6 years ago
Arkadiusz Idzikowski staff answered 6 years ago
Shajee Lawrence pro answered 6 years ago
<div class="col"> <div class="mt-0 mb-0"> <mdb-select [options]="genreOptions" id="genre" data-error="Select Genre" formControlName="genre" name="genre" class="colorful-select dropdown-primary"> </mdb-select> <label for="genre">Genre</label> </div> </div> Styles.scss mdb-select > div > div.single { padding: 0; } Screenshots below Initial rendering Rendering after a Selection
Damian Gemza staff answered 6 years ago
Shajee Lawrence pro answered 6 years ago
Damian Gemza staff answered 6 years ago
mdb-select > div > div.single { padding: 0; }
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: PC
- Browser: Chrome, fireFox
- OS: Linux
- Provided sample code: No
- Provided link: Yes