Cannot find control with name: formControlName in angular reactive form

前端 未结 6 1033
無奈伤痛
無奈伤痛 2020-12-25 11:47

I found this problem in many questions in stackoverflow but no luck. Please help me for figuring out what I am doing wrong.

In component :

6条回答
  •  青春惊慌失措
    2020-12-25 12:15

    I also had this error, and you helped me solve it. If formGroup or formGroupName are not written with the good case, then the name of the control is not found. Correct the case of formGroup or formGroupName and it is OK.

提交回复
热议问题