Skip to content

fix(material/form-field): add hasFloatingLabel input and update classes if mat-label is added and removed dynamically #30849

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mistrykaran91
Copy link
Contributor

Currently, when mat-Label is added dynamically initially its not visible in DOM, this fix will add/remove classes for the same.

Fixes #29939

@mistrykaran91 mistrykaran91 requested a review from a team as a code owner April 11, 2025 07:42
@mistrykaran91 mistrykaran91 requested review from crisbeto and andrewseguin and removed request for a team April 11, 2025 07:42
@mistrykaran91 mistrykaran91 force-pushed the fix/floating-label-hide-show-issue branch 2 times, most recently from cfaf552 to b425115 Compare April 14, 2025 13:33
…es if mat-label is added and removed dynamically

Currently, when `mat-Label` is added dynamically initially its not visible in DOM, this fix will add/remove classes  for the same.

Fixes angular#29939
@mistrykaran91 mistrykaran91 force-pushed the fix/floating-label-hide-show-issue branch from b425115 to ad897c4 Compare April 14, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

but(FormFiled): Floating label hide/show not responsive when set to outline appearance.
1 participant