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

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

Here is my component in Angular 4:

@Component( {
    selector: \'input-extra-field\',
    template: `
            
20条回答
  •  广开言路
    2020-12-07 16:01

    #Background

    • NativeScript 6.0

    In my case, the error was triggered by changing element tag from to by fault. Inside

    After removing [(ngModel)]="name" error was gone.

提交回复
热议问题