[web-devel] [Yesod] Why required textarea fields are not required?

Dmitry Kurochkin dmitry.kurochkin at gmail.com
Tue Feb 22 16:56:03 CET 2011


Hi Michael.

textareaFieldProfile defines fpWidget as:

    , fpWidget = \theId name val _isReq -> addHamlet
        [HAMLET|\
<textarea id="#{theId}" name="#{name}">#{val}
|]

Can you tell why the required flag is ignored? It feels like a bug, but
perhaps it's done on purpose?

Regards,
  Dmitry



More information about the web-devel mailing list