HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleyesod-form-1.7.9Haskell2010

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.