ERROR Error: No value accessor for form control with unspecified name attribute on switch

后端 未结 20 2476
感情败类
感情败类 2020-12-07 15:33

Here is my component in Angular 4:

@Component( {
    selector: \'input-extra-field\',
    template: `
            
20条回答
  •  忘掉有多难
    2020-12-07 16:02

    I also had the same error , angular 7

     
    

    I just added ngDefaultControl

       

提交回复
热议问题