Remove uploaded files in Filament admin panel

Users can upload some images in my app but sometimes admin wants to remove the files from the application folder, how is that possible? I mean is that possible when admin clicks on the x button in filepond? but in that case the image isn't removed from the public folder in the storage.
2 Replies
Dan Harrin
Dan Harrin2y ago
you could use a model observer to delete the image if it is removed from the model
Atena.D
Atena.DOP2y ago
Thanks 👍

Did you find this page helpful?