在这里,我正在窗体中创建动态控件。控件正在创建,但是我不能给单个标签文本。请帮帮我
<div [formGroup]="dynamicctrls">
<div formArrayName="inptctls">
<mat-form-field appearance="outline" style="width: 350px;" *ngFor='let itmin of inptctls.controls;let i=index'>
<mat-label>Label name</mat-label>
<input type="text" matInput>
</mat-form-field>
</div>
</div>
dynamicctrls = this.fb.group({
inptctls: this.fb.array([
this.fb.control(''),
this.fb.control('')
])
});