F
Filament2w ago
q

how to open a modal without a trigger button?

is there a way to open a modal without a trigger button? for example this action modal:
public function testAction(): \Filament\Actions\Action
{
return \Filament\Actions\Action::make('test')
->modalHeading(__('Test Action'));
}
public function testAction(): \Filament\Actions\Action
{
return \Filament\Actions\Action::make('test')
->modalHeading(__('Test Action'));
}
fyi: I am using filament actions inside livewire component
1 Reply
toeknee
toeknee2w ago
GitHub
How do I trigger an action using js? · filamentphp filament · Dis...
Package Actions Package Version v3.0.0 How can we help you? I want to open the following action modal using js rather than a button. ` {{ $this->deleteAction }} <x-filament-actions::modals /&...

Did you find this page helpful?