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

Add option for always visible floating labels #36155

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mdo
Copy link
Member

@mdo mdo commented Apr 12, 2022

Fixes #36026.

Needs another pass to see if there's another selector I can use instead of a modifier class, but for now I think an explicit opt-in for this is the best route.

louismaximepiton

This comment was marked as outdated.

@louismaximepiton
Copy link
Member

louismaximepiton commented Jun 27, 2023

Reviewing this PR months after the last one.

The context seems clearer to me right now. I took the liberty to add a commit to handle new things mentionned in the issue. Feel free to debate or revert 654580b.

My proposal here is to display the placeholder once the input is focused and try to better the solution to make it applicable on each scale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs review
Status: Needs review
Development

Successfully merging this pull request may close these issues.

Form-floating form-control doesn't display placeholder
3 participants