There is no immediately obvious way to use optionsPersist with selectField. The function optionsPersistKey makes this possible. Example of use: areq (selectField $ optionsPersistKey [] [Asc UserIdent] userIdent) "User" Nothing |
||
|---|---|---|
| .. | ||
| test | ||
| Yesod | ||
| hello-forms.hs | ||
| LICENSE | ||
| README | ||
| Setup.lhs | ||
| yesod-form.cabal | ||