codemix shows errors for fields of FormGroup in html

in my component html file, I get errors for registrationForm.controls.username where in registrationForm is the FormGroup object. It says “identifier username is not defined. __type does not contain such a member”. Please help

 

——

 

This looks like a code related issue.
Can you please check these threads discussing similar issue and see if any of the suggestions help?
https://github.com/angular/vscode-ng-language-service/issues/152
https://stackoverflow.com/questions/47466324/identifier-required-is-not-defined-type-does-not-contain-such-a-member

If you are still seeing problems, please share with us the sample project (zipped project) exhibiting the error to help us replicate the problem at our end.

Hope this helps.

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注