Closed MotionPhix closed 5 days ago
This seems very specific to this server/client set up, I don't think this is a FilePond bug. I'd suggest asking this on Stack Overflow instead.
You could start debugging by inspecting your developer tools network tab to see how the PATCH
request differs between FilePond and your own PATCH
request.
Is there an existing issue for this?
Have you updated FilePond and its plugins?
Describe the bug
Firstly, I am using Inertiajs, Vue 3, and Laravel for my application. I have the following form for creating projects and uploading files to the backend. When creating a project (that's through a post request), everything works just fine. As you can see below, I am using the same form for creating and updating a project. The issue happens when I want to update a project.
When I am updating the project, while I have managed to make the files display in the Filpond component, the update request hangs up, with a 500 server-error. If I comment out the Filepond code and perform a patch request, everything works just fine. What could I be missing?
The following is my web route file:
I need to upload the files together with the form, not separately. I am using Spartie's Laravel Media Library to handle file associations in the backend:
Reproduction
Hard to reproduce
Environment