axelerator/fancy-forms/7.0.0

NOTE: the latest version is 7.0.1

FancyForms.Widgets.Text

A text input widget

textInput : List (Attribute Msg) -> TextInput customError

A text input widget

type alias TextInput customError =
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 (Error customError)

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