How to use the @material/form-field/index.MDCFormField function in @material/form-field

To help you get started, we’ve selected a few @material/form-field 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 material-components / material-components-web-catalog / src / FormField.js View on Github external
    initLabel = (formFieldEl) => this.formField = formFieldEl && new MDCFormField(formFieldEl);
    handleInit = (inputEl) => this.input = inputEl;