No provider for ControlContainer - Angular 5

后端 未结 8 1179
萌比男神i
萌比男神i 2020-12-09 14:26

I am converting a purchased, third-party template into an Angular 5 app, and just ran into an error. I am very new to Angular 5 (I know AngularJS well however) and don\'t un

8条回答
  •  隐瞒了意图╮
    2020-12-09 15:31

    I'm not sure why the error seems to be pointing to the anchor tag outside of the form element, but it was the form element that was causing the error. Adding FormGroup to the form fixed the problem.

提交回复
热议问题