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

后端 未结 11 2437
小鲜肉
小鲜肉 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:00

    The correct way of use forms now in Angular2 is:

    The old way doesn't works anymore

提交回复
热议问题