material-web icon indicating copy to clipboard operation
material-web copied to clipboard

Support always floating label for field

Open asyncliz opened this issue 1 year ago • 1 comments

Discussed in https://github.com/material-components/material-web/discussions/5365

Originally posted by Gnuk January 5, 2024 Hi,

From 1.1.1, do you know how to keep label always floating with a visible placeholder on a Text field?

Ref: https://material-web.dev/components/text-field/.

Example of expectation before focus:

a0839c17-eca4-470f-ad3a-c530f61a09a9

Note: From Angular Material, it's possible to have this behavior with [floatLabel]="always".

Thank you for your help.

asyncliz avatar Jan 05 '24 22:01 asyncliz

I also want this feature.

bnmghjtyu0 avatar Sep 26 '24 03:09 bnmghjtyu0