我正在使用Typescript 3.4.5和Angular 8。 考虑以下接口: // This is an interface which represents a piece of data, which will be partially updated kind: 'text';}
test$ = new BehaviorSubject<TextBrick>({kind: 'text
我面临的一个问题是,在反应式中使用patchvalue方法将值数组传递到多选列表(角度材料)中。mat-option *ngFor="let menus of list1" [value]="menus">{{menus}}</mat-option>
</mat-select> patchvalue函数是menu: <-- how to pass the list2 element here(direct reference is not w