Omar M.
Omar M.
FFilament
Created by DarkKnight on 12/12/2023 in #❓┊help
Original filename in preview and download, but custom stored filename in FileUpload
Hi, i have the same problem, but i found a solution!! i create a action in the 'actions' section from my relationmanager, you can adjust to your needs, the code is: Action::make('download') ->label('Descargar') ->color('info') ->action(function ($record) { // the original file name is in the field 'nombre_original' , return Response::download('storage/'.$record['archivo'], $record['nombre_original']); }),
48 replies