We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The "ReactiveConnectDirective" extends ConnectBase but does not set the protected field "form" anymore.
In Version 9 the Input property formGroup in "ReactiveConnect" is declared as:
@input('formGroup') form: any;
In Version 10 it is declared as:
@input() formGroup: any;
So ConnectBase.form is no longer set to the formGroup attributes value.
This breaks ConnectBase.resetState which is called from ConnectBase.ngAfterContentInit:
const formElement = this.form.control === undefined ? this.form : this.form.control;
this.form is undefined and accessing control causes an error.
The text was updated successfully, but these errors were encountered:
Duplicate of #85
Sorry, something went wrong.
No branches or pull requests
This is a...
The "ReactiveConnectDirective" extends ConnectBase but does not set the protected field "form" anymore.
In Version 9 the Input property formGroup in "ReactiveConnect" is declared as:
@input('formGroup') form: any;
In Version 10 it is declared as:
@input() formGroup: any;
So ConnectBase.form is no longer set to the formGroup attributes value.
This breaks ConnectBase.resetState which is called from ConnectBase.ngAfterContentInit:
const formElement =
this.form.control === undefined ? this.form : this.form.control;
this.form is undefined and accessing control causes an error.
The text was updated successfully, but these errors were encountered: