yesodweb/yesod — pull request #590 by andrewthad (2013-08-28 19:15:16+00:00)
Title: Added optionsPersistKey to Fields

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