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

[v5] [core] fix(Label): restore support for htmlFor prop #6190

Merged
merged 1 commit into from
May 30, 2023

Conversation

adidahiya
Copy link
Contributor

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

  • fix(Label): restore support for htmlFor prop by widening props interface

added a unit test for this regression (caused by an accidental migration of React.HTMLProps -> React.HTMLAttributes). we don't want React.HTMLProps because that includes React.LegacyRef, but we can get the rest of the properties through React.AllHTMLAttributes.

@adidahiya
Copy link
Contributor Author

[v5] [core] fix(Label): restore support for htmlFor prop

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya adidahiya merged commit 61574d2 into next May 30, 2023
@adidahiya adidahiya deleted the ad/v5-fix-label-htmlFor branch May 30, 2023 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant