我有两个 mat-select,想通过第一个 mat-select 中的选定值过滤第二个 mat-select: html代码是:
<mat-label>products</mat-label>
<mat-form-field appearance="fill" class = "tp-full-width">
<mat-select #captionlist>
<mat-option *ngFor="let p of list_product.data" [value]="p">
{{ p.description }}
</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field appearance="fill" class = "tp-full-width">
<mat-label>brand</mat-label>
<mat-select #brandlist>
<mat-option *ngFor="let m of list_brands.data" [value]="m">
{{ m.BDesc }}
</mat-option>
</mat-select>
</mat-form-field>
请帮帮我,在类型脚本中写什么来做到这一点?