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
I have tried adding your <form> to a new HTML page with an action attribute pointing to some AsynServlet that decodes multipart data. A servlet seems to work fine (3 fields received). I have also tried to manually decode the request body from your logs using MultipartDecoder and still got 3 fields.
Maybe the problem arises when Svelte is introduced? Could you please create a simple demo project that illustrates the problem?
My front end is in svelte; Just created a very simple form with enctype="multipart/form-data" and is as -
(Just for simplicity, I ignored file input)
I use the following line to map the form data fields into map -
But, not all the 3 inputs in the html form is received in fields HashMap. I got only 2 fields mapped.
Logs is as follows -
The text was updated successfully, but these errors were encountered: