© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
6 replies
pratik

Any way to hide Action trigger button but not the action modal ?

This action modal auto opens when the page is loaded and the action trigger button sits at the render hook Body start on top of the page. How to hide it ?
    public function onboardingAction()
    {
        return Action::make('onboarding')
            ->label('Change Password')
            ->form([
                TextInput::make('password')
                    ->label('Password')
                    ->helperText('Create a new strong password for your account!')
                    ->password()
                    ->revealable()
                    ->required(),
            ])
            ->closeModalByClickingAway(false)
            ->closeModalByEscaping(false)
            ->extraAttributes(['wire:init' => new HtmlString('mountAction(\'onboarding\')')])
            ->action(
                function () {
                    $this->submit();
                }
            );
    }
    public function onboardingAction()
    {
        return Action::make('onboarding')
            ->label('Change Password')
            ->form([
                TextInput::make('password')
                    ->label('Password')
                    ->helperText('Create a new strong password for your account!')
                    ->password()
                    ->revealable()
                    ->required(),
            ])
            ->closeModalByClickingAway(false)
            ->closeModalByEscaping(false)
            ->extraAttributes(['wire:init' => new HtmlString('mountAction(\'onboarding\')')])
            ->action(
                function () {
                    $this->submit();
                }
            );
    }
`
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

Is there any way to hide modal's submit button ?
FilamentFFilament / ❓┊help
3y ago
Action modal registered using render hook not trigger the modal
FilamentFFilament / ❓┊help
3y ago
Conditionally hide action button.
FilamentFFilament / ❓┊help
3y ago
How to hide action modal footer actions?
FilamentFFilament / ❓┊help
2y ago