How use files names save using storeFileNamesIn to files titles?

6 Replies
LeandroFerreira
you can use ->preserveFilenames or getUploadedFileNameForStorageUsing https://filamentphp.com/docs/2.x/forms/fields#file-upload
Filament
Fields - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
Miguel Urtado
Miguel UrtadoOP2y ago
I would not like preserve file name - But use the file name save in storeFileNamesIn to show list files.
LeandroFerreira
not sure if it is possible..
Miguel Urtado
Miguel UrtadoOP2y ago
if use preserveFilenames the files is overridden if they have the same name?
LeandroFerreira
override I think Did you try it?
Miguel Urtado
Miguel UrtadoOP17mo ago
Yes, the files is deleted. It's possible use SpatieMediaLibraryFileUpload with Repeater? In tests this not work. 👏 in my tests this work.
Want results from more Discord servers?
Add your server