© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3w ago•
4 replies
Trauma Zombie

Custom action modal on widget?

4️⃣v4
Hi, is it possible to add custom action modal to widget on dashboard? I am trying like this:
// App/Filament/Widgets/StudioStats

    public function getSectionContentComponent(): Component
    {
        return parent::getSectionContentComponent()
            ->headerActions([
                Action::make('foo')
                    ->schema([
                        TextInput::make('bar'),
                    ])
            ]);
    }
// App/Filament/Widgets/StudioStats

    public function getSectionContentComponent(): Component
    {
        return parent::getSectionContentComponent()
            ->headerActions([
                Action::make('foo')
                    ->schema([
                        TextInput::make('bar'),
                    ])
            ]);
    }


It renders there, but when I click it I get error:
 Unable to call component method. Public method [mountAction] not found on component 
 Unable to call component method. Public method [mountAction] not found on component 
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

Widget with Modal Action
FilamentFFilament / ❓┊help
3w ago
Custom action modal
FilamentFFilament / ❓┊help
2y ago
Widget Action not opening modal
FilamentFFilament / ❓┊help
3w ago
Custom widget action steps
FilamentFFilament / ❓┊help
12mo ago