I was working on a project involving mat-select. I have two mat-selects,there I want to do two things:
Thanks in advance, for the help
Use this in you second optiongroup
<mat-optgroup *ngFor="let group of testList" [label]="group.displayName">
<mat-option *ngFor="let num of group.pokemon; let i = index"
[value]="num"
disabled="{{ include.includes(num) || include.includes('all') }}"
>
{{ num }}
</mat-option>
</mat-optgroup>