You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was using Yesod's applicative forms and I noticed that while areq produces an input element with required="", fileAFormReq does not, and so the form can be submitted without the file uploaded (which causes a server-side exception); I don't think this is the intended behaviour. I'm using yesod-core 1.6.24.0 and yesod-form 1.7.0 on GHC 9.0.2.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I was using Yesod's applicative forms and I noticed that while
areq
produces an input element withrequired=""
, fileAFormReq does not, and so the form can be submitted without the file uploaded (which causes a server-side exception); I don't think this is the intended behaviour. I'm using yesod-core 1.6.24.0 and yesod-form 1.7.0 on GHC 9.0.2.Thanks!
The text was updated successfully, but these errors were encountered: