In my mat-table, there is a mat-select component displayed like this:
<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 am trying to retrieve the value that was unselected so I can eliminate it from the list of selected values. Each row in my table is stored in one variable during "selectionChange".