HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleyesod-form-1.7.11Haskell2010

Yesod.Form.MassInput

A module providing a means of creating multiple input forms, such as a list of 0 or more recipients.

  • 3 values
valueinputList
  1. :: (xml ~ WidgetFor site (), RenderMessage site FormMessage)
  2. => Html

    label for the form

  3. -> ([[FieldView site]] -> xml)

    how to display the rows, usually either massDivs or massTable

  4. -> (Maybe a -> AForm (HandlerFor site) a)

    display a single row of the form, where Maybe a gives the previously submitted value

  5. -> Maybe [a]

    default initial values for the form

  6. -> AForm (HandlerFor site) [a]
#

Generate a form that accepts 0 or more values from the user, allowing the user to specify that a new row is necessary.