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
When using hx-boost, a totally native HTML form tag like this should still work correctly: <form method="post" action="/upload" enctype="multipart/form-data">
It is unexpected (and difficult to debug) behavior when the form refuses to submit multipart as expected because hx-boost converts it to an AJAX request which then requires an hx-encoding attribute rather than enctype.
Proposed solution: HX-Boost currently converts native HTML in anchor tags and form tags to make an AJAX request instead. In addition to attributes such as href, method, action, HX-Boost should also respect enctype.
The text was updated successfully, but these errors were encountered:
When using
hx-boost
, a totally native HTML form tag like this should still work correctly:<form method="post" action="/upload" enctype="multipart/form-data">
It is unexpected (and difficult to debug) behavior when the form refuses to submit multipart as expected because
hx-boost
converts it to an AJAX request which then requires anhx-encoding
attribute rather thanenctype
.Proposed solution: HX-Boost currently converts native HTML in anchor tags and form tags to make an AJAX request instead. In addition to attributes such as
href
,method
,action
, HX-Boost should also respectenctype
.The text was updated successfully, but these errors were encountered: