Topic: How can I show mat-select in modal ?
Omar free asked 6 years ago
Omar free answered 6 years ago
<mat-form-field >
<mat-selectplaceholder="Amenities" [formControl]="amenities"multiple [(ngModel)]="selectedValueAmenities">
<mat-option (click)="unselectAmenities()" style="color:inherit;"disabled>Clear</mat-option>
<mat-option *ngFor="let amenity of amenitiesList" [value]="amenity"style="display: block;">{{amenity}}</mat-option>
</mat-select>
</mat-form-field>
Arkadiusz Idzikowski staff commented 6 years ago
Dear Omar, The above code looks like Angular Material from Google. In case of problems with those components please contact their official support. Best, ArekBiz free commented 6 years ago
It is not Angular Material error. I use mdb form field inside simple Bootstrap modal. Validation not working inside this modal. Validation for mbd inputs.
Modal components in mdb - not dynamic component. It is not Angular style.
Arkadiusz Idzikowski staff answered 6 years ago
Omar free commented 6 years ago
yes,I didOmar free commented 6 years ago
I couldn't showed mat-select into modal , after clicked . do you have solve to correct this problem ?Omar free commented 6 years ago
If bootstrap 4 don't support for mat-select ?Omar free commented 6 years ago
I want to send you snapshot but MDB ASK don't support this media .FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No