bkuhlmann/form-validator/1.2.2

Rerouted (archive, verified). The original repository is gone. This copy comes from an archive (Software Heritage). The Lamdera package server serves a copy recovered from swh:1:rev:6a2c83b4256c217a8ca6ed53c26ee776f9cbb0f6 (Software Heritage, origin https://github.com/bkuhlmann/form-validator).

What we checked: Software Heritage archived tag 1.2.2 of github.com/bkuhlmann/form-validator at commit 6a2c83b4256c; its commit 6a2c83b4256c is from 2022-10-22 22:50 UTC, before the version was published (2022-10-22 22:51 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip is our own, made from Software Heritage's copy of the files Elm uses, so its SHA-1 is not the published one.

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/bkuhlmann/form-validator/zipball/1.2.2/

FormValidator.Views

The Form Validator views which are convenience methods for rendering forms and fields within your views.

field : key -> Form key -> List String -> List (Html message) -> Html message

View field with errors (if any). To be used as a wrapper around field DOM elements.

errors : Errors -> Html message

View field errors (if any) as an unordered list.

error : Error -> Html message

View field error (if any) as a list item.