Topic: Mdbselect issues
Jan free asked 6 years ago
Damian Gemza staff answered 6 years ago
<mdb-select [options]="optionsSelect" [label]="'Example Label'"></mdb-select>
update() { this.optionsSelect= [...this.optionsSelect, {value:'4', label:'Option 4'}]; }
<div class="row"> <div class="col-md-10 mx-auto d-flex justify-content-between my-5"> <mdb-select class="w-25" [options]="optionsSelect" [label]="'Example Label'"></mdb-select> <mdb-select class="w-25" [options]="optionsSelect" [label]="'Example Label'"></mdb-select> </div> </div>
Damian Gemza staff answered 6 years ago
Jan free answered 6 years ago
Jan free answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: All
- Browser: chrome
- OS: All
- Provided sample code: No
- Provided link: No