This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Form library in Elm
version 1.1.1
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.1.1
Committed At 2018-06-26 12:29:16 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1
elm-community/elm-datepicker 7.0.0 <= v < 8.0.0 7.2.6

Modules

README

Agnostic library for building Forms

Provides a set of configuration options for building forms components. Here's a list of available components:

  • Input text
  • Textarea
  • Select
  • Radio
  • Checkbox
  • Datepicker
  • Autocomplete

Configuring fields

You can only reconstruct the original (opaque) type:

type FormField model msg = FormField (FormFieldConfig model msg)

By using one of this configuration methods:

  • autocompleteConfig
  • checkboxConfig
  • datepickerConfig
  • radioConfig
  • selectConfig
  • textConfig

Once configured, a field must be rendered by calling the render method.

Use example

See examples/FormApp.elm