I can't work out how to send the selected value to a function in a mat-select. All the examples I have seen use ngModel.
In the ipad version of my app I have a mat-select where on the desktop version I have a list with a (click) on each item. On the desktop version if I click the item I can get the item's id because it is inside the *ngFor.
On a mat-select the (valueChange) is above and outside of the *ngFor. So how do I send the id of the selected option to the valueChange function?
<mat-select (valueChange)="consolelog(**Need to pass catalog.id here**)">
<mat-option *ngFor="let catalog of catalogTitles" value="catalog.title">{{catalog.title}}</mat-option>
</mat-select>