F
Filament3mo ago
gh057x

Button in headerActions from table is not clickable.

I have a page that extends ListRecords, I added a headerActions to download all the data from the table list. But unfortunately, I cannot click the button from the modal. See attached image.
No description
1 Reply
gh057x
gh057xOP3mo ago
This is my code, it did not call the action method.
\Filament\Tables\Actions\Action::make('download')
->label('Download Report')
->form([
Grid::make()
->schema([
TextInput::make('percentage')->suffix('%')->required()->default(95),
])
->columns(2)
])
->action(function (array $data) {
dd($data);
});
\Filament\Tables\Actions\Action::make('download')
->label('Download Report')
->form([
Grid::make()
->schema([
TextInput::make('percentage')->suffix('%')->required()->default(95),
])
->columns(2)
])
->action(function (array $data) {
dd($data);
});

Did you find this page helpful?