F
Filament3w ago
Enas

import modal description

Hello all, Please I want to make import action like the image attachment, but wen I add modal description then (Download CSV file) disappear, Is there any way to keep it?
No description
No description
No description
1 Reply
BKF Dev
BKF Dev3w ago
Copy Past :
\Filament\Forms\Components\Actions::make([ Action::make('get_template') ->icon('tabler-file') ->label(__('Download Template Xlsx / Csv File')) ->outlined() ->link() ->color('success') ->action(function () { return Response::download(public_path('template.xlsx'), 'template.xlsx', ['Content-Type: application/vnd.ms-excel']); }), ]),
Want results from more Discord servers?
Add your server