Answers for "If 'query-builder' is an Angular component and it has 'ngModel' input, then verify that it is part of this module."

0

Uncaught Error: Template parse errors: Can't bind to 'ngModel'

Try to import FormModule an app.module.ts file

import { FormsModule } from '@angular/forms'

@NgModule({
  declarations: [
    ....
  ],
  imports: [
    ...,
    FormsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
Posted by: Guest on April-14-2020

Code answers related to "If 'query-builder' is an Angular component and it has 'ngModel' input, then verify that it is part of this module."

Browse Popular Code Answers by Language