This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Closed
Description
Hi, by using...
node.querySelector('.mdc-text-field').MDCTextField.value = "Text"
I can change the value of the text input. But how can I change the label? In the documentation it says that MDCTextFieldFoundation supports multiple sub-elements inclusive label, but its not stated how to do that, and if it is even possible with AutoInit. Anybody can shed some light here on how to make this work?
P.D: I know that I can change the label by using JQuery and changing the text directly, but I'm trying to do this with the official MDCTextField Class.