I have a mat-table, inside the table i have this mat-select:
<mat-select multiple placeholder="{{element.name}}" [(value)]="selectedCol" (selectionChange)="selectionChange($event)" [disabled]="!selection.isSelected(element.id)">
<div *ngFor="let item of col">
<div *ngIf="item.Id === element.id">
<mat-option [value]="item.id">
{{item.name}}
</mat-option>
</div>
</div>
</mat-select>
I need to get the value that was deselected, so i can remove it from the list of selected values, because every row in my table is saved in one variable on "selectionChange".