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

feat(material/core): change ErrorStateMatcher to accept AbstractForm #24012

Merged
merged 1 commit into from Dec 3, 2021
Merged

feat(material/core): change ErrorStateMatcher to accept AbstractForm #24012

merged 1 commit into from Dec 3, 2021

Conversation

mrm1st3r
Copy link
Contributor

To be able to use the ErrorStateMatcher also for determining the state of FormGroups, I think the signature might be changed to accept AbstractForm instead of FormControl. The relevant properties are all part of the AbstractForm, so I don't expect any breaking behavior.

@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 25, 2021
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

The change looks good, but you need to run yarn approve-api core to resolve the CI failure.

@mrm1st3r mrm1st3r requested a review from a team as a code owner November 25, 2021 21:33
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

LGTM

@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Nov 25, 2021
@wagnermaciel
Copy link
Contributor

@crisbeto At the moment, new features can only be merged with the "target: minor" or "target: major" label. Is it ok to change this to "target: minor"?

@crisbeto crisbeto added target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Dec 3, 2021
@crisbeto
Copy link
Member

crisbeto commented Dec 3, 2021

Yes, I've changed it to minor.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants