[web-devel] Question about changes in Yesod.Form.Fields

David McBride dmcbride at neondsl.com
Thu Jul 28 00:54:07 CEST 2011

Seems to work fine for me, what error are you getting, and what have
you set the variables servers and tests to?

On Wed, Jul 27, 2011 at 6:44 PM, Michael Litchard <michael at schmong.org> wrote:
> I appreciate the additional functionality that allows multi select
> fields. The interface to selectField has changed however. The
> following code used to work. I cannot make sense of the changes, and
> couldn't find any use examples in the source. Could someone lend a
> hand and tell me how the following should be re-written?
> sslvpnForm = fixType $ runFormPost $ renderDivs $ pure (,)
>   <*> areq (multiSelectField servers) "Pick some servers" Nothing
>   <*> areq (selectField tests) "Pick a test" Nothing
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel

More information about the web-devel mailing list