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

ShrinkLabel missing from MudField? #8965

Open
1 of 2 tasks
StephenOTT opened this issue May 13, 2024 · 1 comment
Open
1 of 2 tasks

ShrinkLabel missing from MudField? #8965

StephenOTT opened this issue May 13, 2024 · 1 comment

Comments

@StephenOTT
Copy link

Bug type

Component

Component name

MudField

What happened?

When working with mudField i would have expected to have the ShrinkLabel property but is is not available.

Expected behavior

ability to set shrinkLabel = true on a mudField

Reproduction link

https://try.mudblazor.com/snippet/QkGokTPHWyLbVeUU

Reproduction steps

...
f

Relevant log output

No response

Version (bug)

6.19.1

Version (working)

No response

What browsers are you seeing the problem on?

Chrome

On which operating systems are you experiencing the issue?

macOS

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Anu6is
Copy link
Contributor

Anu6is commented May 14, 2024

Shrink is applied based on the field having either some content or an adornment.
An easy workaround would be adding an empty MudText component e.g. <MudField Label="Example"><MudText/></MudField>

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

No branches or pull requests

2 participants