在how to implement multiple selection and reactive form ?/node_modules/@angular/forms/fesm5/forms.js.FormGroupDirective.addControl at/node_modules/@angular/forms/fesm5&
我正在尝试向表单添加行。每行有3个输入字段。 这就是我到目前为止所做的。 export class MedicationGrid { title2:string;} 组件html <li class="am-row" *ngFor="let dynamic of dynamicArray; let i = index;"> <input type="
:,我正在构建一个可重用的FormGroups中继器(reactive ),其中中继器的通用部分提供添加/删除控件和逻辑,所有想要使用它的组件只需要提供必须重复的模板。/forms/bundles/forms.umd.js:1527:15)
at setUpControl (https://unpkg.com/@angular/forms/bundles/forms.um