Spatie media library file name in form when uploaded

Hi! I am using spatie-media-library for document uploads (images and pdfs) to my entities. For the table column I have created a custom table field and works great. But on create/edit forms, when you attach files, it first shows their original names, and once they are uploaded it changes to the generated names. I would like to keep displaying the original file name. Is this possible? Thank you. #spatie-media-library
2 Replies
Dennis Koch
Dennis Koch3y ago
->preserveFileName()?
deveti
devetiOP3y ago
Thank you!

Did you find this page helpful?