-
Notifications
You must be signed in to change notification settings - Fork 27k
fix(forms): Make NgControlStatus host bindings OnPush compatible
#55720
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
Conversation
5e83ed8 to
90a620a
Compare
dbb8263 to
2911043
Compare
JeanMeche
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fwiw, LGTM !
a4d7c44 to
9afe197
Compare
dylhunn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the PR that had issues when groups are passed into OnPush sibling components, right?
thePunderWoman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
Yes, that's right. It's maybe on the border of what might be considered a breaking change. |
AndrewKushnir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: public-api
8b65e7e to
a87a3cb
Compare
This commit makes the host bindings of `NgControlStatus[Group]` compatible with `OnPush` components. Note that this intentionally _does not_ expose any new APIs in the forms module. The goal is only to remove unpreventable `ExpressionChangedAfterItHasBeenCheckedError` in the forms code that developers do not have control over.
a87a3cb to
91a35e9
Compare
91a35e9 to
237b6f2
Compare
|
This PR was merged into the repository by commit 00bde8b. The changes were merged into the following branches: main |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This commit makes the host bindings of
NgControlStatus[Group]compatible withOnPushcomponents. Note that this intentionally does not expose any new APIs in the forms module. The goal is only to remove unpreventableExpressionChangedAfterItHasBeenCheckedErrorin the forms code that developers do not have control over.