FilamentF
Filament3y ago
xy

SpatieMediaLibraryFileUpload: Display original file name

Hi

Any ideas on how I can display the original file name when using SpatieMediaLibraryFileUpload?
On upload it says original file name but when editing the file field, it shows stored file name.

  Forms\Components\SpatieMediaLibraryFileUpload::make('file
      ->disk('local')
      ->collection('files')
      ->multiple(false)
      ->previewable(false)
      ->required(),
Was this page helpful?