Back to all blogs3 min read
Solution- Can't bind to 'ngModel' since it isn't a known property of 'input'.
Just add FormsModule in app.module.ts file of your Angular application.
Ankush Jain
Lead Software Engineer (VP) | Software Architect
Published Apr 25, 2019Updated Nov 24, 2026
Just add FormsModule in app.module.ts file of your Angular application.
import { FormsModule } from '@angular/forms';
[...]
@NgModule({ imports: [ [...] FormsModule ], [...]})