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

fix(forms): Make NgControlStatus host bindings OnPush compatible #55720

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented May 7, 2024

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.

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.
@atscott atscott force-pushed the formshostbindingsonpush branch 4 times, most recently from 87f6c44 to dbb8263 Compare May 23, 2024 19:29
@atscott atscott marked this pull request as ready for review May 23, 2024 19:52
@pullapprove pullapprove bot requested a review from AndrewKushnir May 23, 2024 19:52
@pullapprove pullapprove bot removed the requires: TGP This PR requires a passing TGP before merging is allowed label May 23, 2024
@atscott atscott requested a review from dylhunn May 23, 2024 20:24
Copy link
Member

@JeanMeche JeanMeche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fwiw, LGTM !

@AndrewKushnir AndrewKushnir removed their request for review May 23, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: forms target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants