I'm having trouble getting the selectionChange event to fire in my mat-select when the value is changed.
html file
<mat-select (selectionChange)="changeCategory()">
<mat-option *ngFor="let category of categoryList" [value]="category._id">{{category.name}} </mat-option> </mat-select>
ts file
changeCategory(){
console.log('ok')
}