1
2
我查看了您的代码,应用程序的子级正在等待自己的表单,而您正在尝试注入父级表单,该表单没有id、类型、子类型等子属性。
因此,与其注入父窗体,不如尝试注入来自FormArray的子窗体(
|
2
0
您需要在子组件上应用OnChanges以拾取新的父窗体。 导入OnChanges。
实施it
|
Kiara · 根据条件角度显示多个模板 1 年前 |
IonicMan · 剑道网格在宽度过大时不显示某些列 1 年前 |
Ben5 · 服务器端总是接触FormControl 1 年前 |
allforthenoob · 我该怎么分类? 1 年前 |
Hugh Jones · 如何创建适用于多个来源的自签名开发证书 1 年前 |
jthorn · 角度对象未在HTML中显示 1 年前 |
clem · 如何在Angular应用程序中突出显示页面的一部分? 1 年前 |
Kael · 在html表格中显示关系api数据-角度 2 年前 |