achutkiran / material-components-elm / Mwc.TextField

Material TextField. It is elm wrapper for polymer Web components paper text field Used Elm-css for Styling

autoValidate : Property msg

Set text field to auto validate

disabled : Basics.Bool -> Property msg

Disables text field

errorText : String -> Property msg

Error Text

extraAttributes : List (Html.Styled.Attribute msg) -> Property msg

Additional properties like css

icon : String -> Property msg

Textfield icon name

iconButton : String -> Property msg

Textfield IconButton

iconClick : msg -> Property msg

TextField IconButton click event

textArea : Property msg

TextArea

iconTrailing : Property msg

Makes icon as trailing icon

inputType : String -> Property msg

Input Type

invalid : Property msg

Displays error message

label : String -> Property msg

Label

onInput : (String -> msg) -> Property msg

OnInput Event

pattern : String -> Property msg

Input pattern

placeHolder : String -> Property msg

Placeholder

readonly : Basics.Bool -> Property msg

Makes textfield as readonly

required : Property msg

Sets textfield as required

value : String -> Property msg

Initial value

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

renders TextField

noOp : Property msg

No operation for TextField


type Property msg

TextField Properties