-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.0.0-alpha2] Form submission issue with multipart/form-data. #2317
Comments
Also reproducible in |
Hey, is the request not sent at all, or is it that it doesn't contain the expected payload (in which case, could you provide a screenshot of the generated payload) ? Do you have any error in console or does it fail silently ? |
Thanks, could you also show us the full content of the |
Couldn't get the proxy object to work properly with XMLHTTPRequest's send method. Even though calls are being forwarded to its underlying FormData through the proxy, the request won't set its type to multipart/form-data when appropriate and instead send a text/plain request
Couldn't get the proxy object to work properly with XMLHTTPRequest's send method. Even though calls are being forwarded to its underlying FormData through the proxy, the request won't set its type to multipart/form-data when appropriate and instead send a text/plain request
Hey (for some reason I forgot to follow up here), could you try again with the latest beta version and let us know if the issue persists? |
I tried the latest beta. Everything works okay now. Thanks. |
I have the following form in my app, which includes text and file inputs:
This code worked flawlessly with htmx version
2.0.0-alpha1
. However, after updating to htmx version2.0.0-alpha2
, the form submission stopped working. I suspect this issue is related to changes in howmultipart/form-data
is handled in htmx:The text was updated successfully, but these errors were encountered: