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?
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1238049490057953310/image.png)
0 Replies