Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not work in Angular 12 #535

Closed
se7ennlv opened this issue Oct 28, 2021 · 5 comments
Closed

Not work in Angular 12 #535

se7ennlv opened this issue Oct 28, 2021 · 5 comments

Comments

@se7ennlv
Copy link

Hi All,
I got this error in Angular version 12, Please suggest me

image

Thanks in advance

@ajayojha
Copy link
Member

ajayojha commented Oct 28, 2021 via email

@se7ennlv
Copy link
Author

@ajayojha ,
Thanks for your response, after changed type of FormGroup to RxFormGroup I get this error on ts file.
image

@ajayojha
Copy link
Member

kindly recorrect the code as below:

this.form - this.fb.formGroup(model) as RxFormGroup;

please refer to this link for more information.

@se7ennlv
Copy link
Author

resolved by changes "strictTemplates": false in tsconfig file

@ajayojha
Copy link
Member

Ok, Thanks.. I am closing this ticket as no further action required on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants