axelerator / fancy-forms / FancyForms.Widgets.Text

A text input widget

textInput : List (Html.Attribute Msg) -> TextInput customError

A text input widget


type alias TextInput customError =
FancyForms.FormState.Widget String Msg String customError

Signature for a text input widget


type Msg

Messages that can be sent to the text input

Validators

notBlank : String -> List (FancyForms.FormState.Error customError)

A validator function that ensures that the given string is not empty.