© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
2 replies
bernhard

Action not triggering

I have a simple Livewire Component:

class UserIcon extends Component implements HasForms, HasActions
{
    use InteractsWithActions;
    use InteractsWithForms;


    public function userMenuOrLogin(): Action
    {
        return Action::make('login')
            ->action(function (array $arguments) {
                dd('Test action called', $arguments);
            });
    }


    public function render(): View
    {
        return view('livewire.user-icon');
    }
}
class UserIcon extends Component implements HasForms, HasActions
{
    use InteractsWithActions;
    use InteractsWithForms;


    public function userMenuOrLogin(): Action
    {
        return Action::make('login')
            ->action(function (array $arguments) {
                dd('Test action called', $arguments);
            });
    }


    public function render(): View
    {
        return view('livewire.user-icon');
    }
}


and thats the view:

<div>
    {{ $this->userMenuOrLogin }}
    <x-filament-actions::modals />
</div>
<div>
    {{ $this->userMenuOrLogin }}
    <x-filament-actions::modals />
</div>


When I click on the button, I can see the
update
update
request on the network tab of chrome, but nothing happens, no DD output is shown. Any ideas?
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

Excel:download() not triggering from BulkAction Action.
FilamentFFilament / ❓┊help
11mo ago
Manually triggering a modal action
FilamentFFilament / ❓┊help
5mo ago
wire:loading Not Triggering During Action Dispatch in Filament
FilamentFFilament / ❓┊help
15mo ago
triggering action make custom livewire error ?
FilamentFFilament / ❓┊help
8mo ago