No value accessor for form control

前端 未结 7 2037
不思量自难忘°
不思量自难忘° 2020-12-29 18:04

I\'m using Angular2-rc5, and I\'m currently getting an error on my login page. I\'m trying to make a form but the console throws exceptions telling me that it can\'t find my

7条回答
  •  误落风尘
    2020-12-29 18:42

    You are adding the formControlName to the label and not the input.

    You have this:

    Try using this:

    Update the other input fields as well.

提交回复
热议问题