© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3mo ago•
3 replies
flashman

Call action on page load, but with action button hidden

Hi, i have $defaultAction property set on custom page. It is working ok. Default action is triggered on pageLoad.

But I would like to hide action button. If I set visible(false) action is not triggered.

What is the purpose:
When page loads, I show announcement in action modal, but only if user has unread announcement. Please, make a reply if youbdont understand me.
Solution
ok, fixed it. extraAttributes and display:none;
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Call action after page load to table mount action
FilamentFFilament / ❓┊help
2y ago
Insert Action Button on Custom Page
FilamentFFilament / ❓┊help
17mo ago
Action button for creating relation on view page
FilamentFFilament / ❓┊help
2y ago
Duplicate notifications from table action on page load
FilamentFFilament / ❓┊help
17mo ago