diff --git a/yesod-form/Yesod/Form/Fields.hs b/yesod-form/Yesod/Form/Fields.hs index d2aecf8a..5c16d7eb 100644 --- a/yesod-form/Yesod/Form/Fields.hs +++ b/yesod-form/Yesod/Form/Fields.hs @@ -437,6 +437,8 @@ $newline never "yes" -> Right $ Just True "on" -> Right $ Just True "no" -> Right $ Just False + "true" -> Right $ Just True + "false" -> Right $ Just False t -> Left $ SomeMessage $ MsgInvalidBool t showVal = either (\_ -> False)