using a component as mat-select code example Example: select in mat-option <mat-select [(value)]="selected2">