Spatie Media Library overriding files
I have a form like this, with a fileUpload to upload files to a model collection.
When using SpatieMediaLibraryFileUpload, the files are overriding (I also tried the method ->appendFiles() but its not working).
And when using raw FileUpload component, I can attach it later to a media library successfully, but the original uploaded file is stored too. How to manage it?
Should I remove manually that file after?
0 Replies