alexanderkiel/elm-mdc-alpha/1.1.0

NOTE: the latest version is 1.4.0

Material.TextField.HelperText

Helper text conveys additional guidance about the input field, such as how it will be used. It should only take up a single line, being persistently visible or visible only on focus.

Install

In your application install:

npm install "@material/textfield"

In your Sass file import:

@import "@material/textfield/helper-text/mdc-text-field-helper-text";

View

view : List (Property msg) -> List (Html msg) -> Html msg

Renders a helper text paragraph node. Place this right below your TextField.

Properties

persistent : Property msg

Makes the helper text permanently visible.

validationMsg : Property msg

Indicates the helper text is a validation message.

Reference