Action not trigging in a livewire component?

Simple action:

    public function saveAndResumeAction(): Action
    {
        return Action::make('save_resume')
            ->label('Save and Resume Later')
            ->form([
                TextInput::make('test')->label('Test'),
            ])
            ->action(fn () => dd('hit')
            );
    }


called with this in the view:

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


Just spins and doesn't do anything and action is never hit... suggestions?

if I write a function

    public function save_resume()
    {
        dd('hit me');
    }


then save_resume function is hit...
Solution
Resolved, the action need to have the same naming convention less Action in the name of the action.
Was this page helpful?