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

docs: added note on how to avoid the incorrectly floating label in a select with empty value but non-empty text #634

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

Conversation

JL102
Copy link
Contributor

@JL102 JL102 commented Oct 30, 2023

I was originally planning on creating a fix for this, which was pretty clearly a bug to me,
but then I saw that SMUI has no control over this particular issue. If the selected value is "",
like in the case of a default, but the text is still non-empty, floatLabel() is called with
value false, and I see that's controlled by @material/select, not SMUI.

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.

None yet

1 participant