Is it possible to add custom buttons (Ok and Cancel) like the photo below so that in a multi-select mat dropdown the user doesnt have to click outside the box to close the dropdown?
I didnt see this in the angular documentation
<h4>Basic native select</h4>
<mat-form-field>
<mat-label>Cars</mat-label>
<select matNativeControl required>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
</mat-form-field>
here is the stackblitz of what I have so far https://stackblitz.com/edit/select-all-option-angular-material?file=src%2Fapp%2Fapp.component.html
https://stackblitz.com/edit/select-all-option-angular-material-6aexy8
You need to handle events in this case – Supun De Silva