Closed qs-labs closed 5 years ago
Hey @qs-labs - what do you mean by preserving labels?
In the screenshot, the first text field is not using mdc-floating-label
, as documented. The second is a full-width textarea, which does not have the same restrictions as a full-width text field.
Hi @bonniezhou - thanks for the clarification. I recently discovered the ability to apply a label to a full-width text field by adding it to the <input />
element directly; previously, I had mistakenly identified the full-width label as an mdc-floating-label
. With regards to the textarea, it seems I misunderstood the documentation. My apologies for not closing this one earlier!
(referencing material-components-web-react #380)
Both Full Width Text Field demos are preserving labels, a behavior no longer supported (see here).