Angular2 Error: There is no directive with “exportAs” set to “ngForm”

后端 未结 11 2424
小鲜肉
小鲜肉 2020-12-01 13:33

i\'m on the RC4 and i\'m getting the error There is no directive with \"exportAs\" set to \"ngForm\" because of my template :

11条回答
  •  伪装坚强ぢ
    2020-12-01 14:15

    I had this problem because I had a typo in my template near [(ngModel)]]. Extra bracket. Example:

    
    

提交回复
热议问题