kutyel/elm-form/1.0.0

Renamed to scrive/elm-form. It is published under that name, and new versions come out there.

Versions published as kutyel/elm-form still install under that name. 1 version of 1 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/scrive/elm-form.

What we checked: The repo moved to github.com/scrive/elm-form. Rebuilt with git archive from commit 36826458dd77 of https://github.com/scrive/elm-form (zip prefix kutyel-elm-form-3682645/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 fb9d51c1d4d0daaf65a2aa4c5e28dfbf14ccaceb.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/kutyel/elm-form/zipball/1.0.0/

Form.Input

Html input view helpers, wired for elm-form validation.

type alias Input e a =
FieldState e a -> List (Attribute Msg) -> Html Msg

An input renders Html from a field state and list of additional attributes. All input functions using this type alias are pre-wired with event handlers.

String
-> (String -> FieldValue)
-> FieldState e String
-> List (Attribute Msg)
-> Html Msg

Untyped input, first param is type attribute.

textInput : Input e String

Text input.

passwordInput : Input e String

Password input.

textArea : FieldState e String -> List (Attribute Msg) -> Html Msg

Textarea.

checkboxInput : FieldState e Bool -> List (Attribute Msg) -> Html Msg

Checkbox input.

List ( String, String )
-> FieldState e String
-> List (Attribute Msg)
-> Html Msg

Select input.

radioInput : String -> FieldState e String -> List (Attribute Msg) -> Html Msg

Radio input.