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
you can't pass a formData to a plain JavaScript object, while the fetch API doesn't accept such an object for the body, or you split it into 2 createServerFn(): fordatacreateServerFn() and idcreateServerFn()
Which project does this relate to?
Start
Describe the bug
File
s inFormData
get mangled if theFormData
is sent along with anything else.This works:
But this doesn't:
But accessing non-file
FormData
entries is fine:Your Example Website or App
https://gist.github.com/carderne/8ff24cc001e2b7ca07983715f68139a0
Steps to Reproduce the Bug or Issue
Full reproduction component:
Expected behavior
I expected it to work the same for Files as for other Form fields.
Screenshots or Videos
No response
Platform
@tanstack/react-router:
1.120.3
@tanstack/react-start:
1.120.3
Additional context
No response
The text was updated successfully, but these errors were encountered: