FilamentF
Filament14mo ago
Prodex

ExtraModalFooterAction does nothing

Hi, I'm trying to render an extra action for the editOptionModal:

->editOptionAction(fn (Forms\Components\Actions\Action $action) => $action->extraModalFooterActions(fn (Action $action): array => [
  \Filament\Actions\Action::make('something')
  ->icon('heroicon-o-trash')
  ->action(fn ($record) => dump($record)),
]))

The button renders as it should, but when I click it, nothing happens. No php or js errors as well.

How can I fix that?

Thanks!
Was this page helpful?