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
Dev environment (OS, Sail/Valet/etc): macOS 14.4.1 (Sonoma), Laravel Valet
Description
When using the Filepond component for uploading multiple files there's an issue when the user removes a file that has already been uploaded. The validation of the subsequent request then fails with the following error:
The attachments.0 field must be a file.
This validation error is raised, although there should no attachment.0 field anymore at all. It seems like deleting a file from the Filepond UI doesn't result in the field being removed from the form payload.
The request validation on the backend looks like this (and works fine when uploading a file and then immediately submitting the form):
Description
When using the Filepond component for uploading multiple files there's an issue when the user removes a file that has already been uploaded. The validation of the subsequent request then fails with the following error:
This validation error is raised, although there should no
attachment.0
field anymore at all. It seems like deleting a file from the Filepond UI doesn't result in the field being removed from the form payload.The request validation on the backend looks like this (and works fine when uploading a file and then immediately submitting the form):
Steps To Reproduce Issue
The text was updated successfully, but these errors were encountered: