Filament 3.x: How to open a modal from blade template

Hey together I have a modal within a livewire component which is build with Action::make('something')->form(...). At the moment it renders a trigger button which opens the modal. In a special case i need to open this modal dynamically on page load. How can I achieve this?
Solution
<div wire:init="init">
    @if ($isAdmin)
...


public function init(): void {
    $this->mountAction('customerLocationModal');
}
Was this page helpful?