How to use the @material/textfield/dist/mdc.textfield.js.MDCTextfield function in @material/textfield

To help you get started, we’ve selected a few @material/textfield examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jakubgarfield / expenses / src / components / expense-form / ExpenseForm.js View on Github external
document.querySelectorAll(".mdc-textfield").forEach(selector => {
      new MDCTextfield(selector);
    if ( === undefined) {