Angular 6 Material mat-select change method removed

angularangular6

In Angular Material Design 6, the (change) method was removed.
I cant find how to replace the change method to execute code in the component when the user change selection
Thanks!

Best Answer

The changed it from change to selectionChange.

<mat-select (change)="doSomething($event)">

is now

<mat-select (selectionChange)="doSomething($event)">

https://material.angular.io/components/select/api