Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/abradley2/form-controls is gone (deleted or private); Software Heritage has no tag 2.0.0 for it; no fork with tag 2.0.0 found (60 same-name repos checked); no cached copy. Use another version.
A text input widget for Elm
init
Initialization for the text input model. The id passed in must be unique
defaultProps
Default props for the text input. Generally the label should be set before passing
these defaults to the view
Msg
OnInputModel Tracks the internal foxus state of the element
Props
id Unique id for the elementslabel Label for the text inputvalue The value of the text inputerrorText Set this to a string when there is a validation error to display to the user. Will override helperTexthelperText Helpful text displayed under the text input
view The view function for displaying the text input element