Rachel
0
Q:

get value onChange from mat-select angular

<mat-select (selectionChange)="doSomething($event)">
4
<mat-form-field>
    <mat-select placeholder="State" (selectionChange)="someMethod($event.value)">
        <mat-option *ngFor="let state of states" [value]="state.value">
            {{ state.viewValue }}
        </mat-option>
    </mat-select>
</mat-form-field>
1

New to Communities?

Join the community