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
If you natively (disabled js) submit a router-action based form with large form values, the form data will be in the server-function argument as expected, but useSubmission().input is empty during ssr.
Your Example Website or App
Stackblitz had a wasm problem, Repro ZIP is in "Additional context"
Steps to Reproduce the Bug or Issue
Add a form with a router+server-fn based action and a textarea
Output useSubmission().input in the JSX
console.log the form data in the server-fn
Open the browser + disable js in devtools
Enter a very large text in the textarea and submit
The server function logs the form data, but the submission input will be empty
Expected behavior
useSubmission().input during ssr should by consistent with the server-fn arguments, even if the submitted FormData has large values.
Describe the bug
If you natively (disabled js) submit a router-action based form with large form values, the form data will be in the server-function argument as expected, but
useSubmission().input
is empty during ssr.Your Example Website or App
Stackblitz had a wasm problem, Repro ZIP is in "Additional context"
Steps to Reproduce the Bug or Issue
useSubmission().input
in the JSXExpected behavior
useSubmission().input
during ssr should by consistent with the server-fn arguments, even if the submitted FormData has large values.Screenshots or Videos
Screencast.From.2025-02-21.21-22-53.mp4
Platform
Additional context
Reproduction (based on SolidStart bare):
start-empty-submission-large-values.zip
The text was updated successfully, but these errors were encountered: