F
Filament2mo ago
Iron

Spawning Modal on page visist

Hmm, how can i make a modal appear on page visit based on some params? So if = 1 show modal on page visit. No button click needed, i swear i have seen it in documentation but i cant find it.
9 Replies
Dennis Koch
Dennis Koch2mo ago
GitHub
How to open action on page load at custom page? · filamentphp fila...
I have a custom dashboard page, and while loading it, I would like to trigger a custom action under certain circumstances. My Dashboard component: <?php namespace App\Filament\Pages; //use... cl...
Iron
IronOP2mo ago
Thanks!!
Dan Harrin
Dan Harrin2mo ago
I think its ?action=defaultactionname on the url that works
Dennis Koch
Dennis Koch2mo ago
Didn't we have docs for this? I couldn't find it anymore
Dan Harrin
Dan Harrin2mo ago
yeah might have gotten removed by accident
Dan Harrin
Dan Harrin2mo ago
thats the one
Iron
IronOP2mo ago
Oh that was much cleaner, thank you, works fine

Did you find this page helpful?