子组件内的formControlName

时间:2018-06-19 14:51:15

标签: angular

<form [formGroup]="schedulerForm" (ngSubmit)="onSubmit()"><div><input 
type="text" class="form-control" placeholder='{{ "name" | translate 
}}' formControlName="name"></div></form>

您好,我想将输入转换为组件,我的目标是在子组件内部使用formcontrol

有可能吗?

谢谢

0 个答案:

没有答案
相关问题