Sunday 21 February 2021

Angular 8 - Can't bind to 'ngModel' since it isn't a known property of 'input'

 Solution:

import { FormsModule } from '@angular/forms';

[...]

@NgModule({
  imports: [
    [...]
    FormsModule
  ],
  [...]
})
 
Reference: Can't bind to 'ngModel' since it isn't a known property of 'input'. 

No comments:

Post a Comment