Modal opened without Action
is it possible to use something like this:
public function openModalAction(): Action
{
return Action::make('openModalAction')
->modalHeading('Title')
->modalSubheading('subtitle')
->modalContent(view('modals.view'))
->modalButton('Close')
->action(fn () => null);
}
Without using a button?
I created a Livewire Component and im using a section as a button. Can i open a modal ? He is not a "button" to use the Action.
thanks
public function openModalAction(): Action
{
return Action::make('openModalAction')
->modalHeading('Title')
->modalSubheading('subtitle')
->modalContent(view('modals.view'))
->modalButton('Close')
->action(fn () => null);
}
Without using a button?
I created a Livewire Component and im using a section as a button. Can i open a modal ? He is not a "button" to use the Action.
thanks