Implements Material Design Web Component: TextField

Text fields let users enter and edit text.

The text field class consists of the following types: * Filled text * Outlined text

See: https://material-components.github.io/material-components-web-catalog/#/component/text-field

class materialweb.tags.textfield.TextField(*args, **kwargs)

Text field component.

See: https://material.io/develop/web/components/text-fields

prepare_attributes(attrs, default)

Prepare html input element’s attributes.

template_filled()

Formatted literal string for filled TextField.

See: https://material.io/develop/web/components/text-fields#filled-text

template_outlined()

Formatted literal string for outlined TextField.

See: https://material.io/develop/web/components/text-fields#outlined-text

template_fullwidth()

Formatted literal string for fullwidth TextField.