我正在尝试弄清楚如何在对话框中显示mat-select并预选一些mat-options。我首先通过迭代对话框TS文件中的字符串数组来创建一个mat-select及其内容(mat-options): <mat-select placeholder="Colors" formControlNamemultiple>
<mat-option *ngFor="let color of allColors" value="{{color}}">{{color}}
我想以编程方式打开ng日期时间(Owl time )选择器对话框?<mat-select [(ngModel)]="createAnnounceReq.sendStatus" formControlName="sendStatus" (change)="onChange_Status- 1week a head - pick specific date