Can't bind to 'formGroup' since it isn't a known property of 'div' ngtsc(-998002)

preview_player
Показать описание
In this video, we will fix cant bind to 'formGroup' issue. When you start to use formgroup in angular, this is one of the issue faced by develope frequently. so without wasting time on find out the solution. I have already explained in this video why we get? cant bind to formgroup since it isn't known property of div. and also provided solution on how to resolve this issue related to formgroup within a minute. By Importing reactiveFormsModule we can easily fix this issue.To fix this error, you just need to import ReactiveFormsModule from @angular/forms in your module.

This solution is applicable for following errors as well:
Can't bind to 'formGroup' since it isn't a known property of 'div'
Can't Bind to formGroup Not Known Property Error in Angular
How do you solve can't bind to FormGroup since it isn't a known property of form?
Can't bind to formControl since it isn't a known property of select?
How do you use a FormGroup?
How do I import ReactiveFormsModule?
Can't bind to 'formGroup' since it isn't a known property of 'form'
Рекомендации по теме
Комментарии
Автор

still not working I have all imports like you have :(

Jazzz-odzl
Автор

Dude you are the real hero. God bless you. I hope your life will be happy

Donleg
Автор

Hi bro I already imported ReactiveFormModule in Module.ts File but still it showing error.Iam using Angular 12 version.

janardhan
Автор

After ng serve, the same issue is here. What can I do?

coffeeaficion