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
The rendered form has enctype="application/x-www-form-urlencoded", so no files get uploaded. If I manually set the enctype on the form to be multipart/form-data, all of the POST data is ignored and the submitted form always fails, with failure state containing the form's defaults. Checking the contents of POST from Snap gives me an empty list.
If I add a dummy file field to my form, one that's not within a list, the form is correctly set to multipart and the form works as expected.
I'm building a fairly simple form for managing images that contains 2 lists: uploaded images and existing images.
The rendered form has
enctype="application/x-www-form-urlencoded"
, so no files get uploaded. If I manually set the enctype on the form to bemultipart/form-data
, all of the POST data is ignored and the submitted form always fails, with failure state containing the form's defaults. Checking the contents of POST from Snap gives me an empty list.If I add a dummy file field to my form, one that's not within a list, the form is correctly set to multipart and the form works as expected.
The text was updated successfully, but these errors were encountered: