© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
52 replies
Hatim

requiresConfirmation not working on actions

I have a Filament page where I have a list of actions (array)

public function logActivityModalActions(): array
{
    $actions = [
        Action::make('delete')
            ->label('Delete')
            ->color('danger')
            ->requiresConfirmation()
            ->action('deleteAction'),
    ];
}
public function logActivityModalActions(): array
{
    $actions = [
        Action::make('delete')
            ->label('Delete')
            ->color('danger')
            ->requiresConfirmation()
            ->action('deleteAction'),
    ];
}


And I am rendering this array like the following:

<x-filament-panels::form.actions
    :actions="$this->actions"
/>
<x-filament-panels::form.actions
    :actions="$this->actions"
/>


All is working well, but the requiresConfirmation() is not working the action is called without showing the confirmation dialog.

any idea?
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
Next page

Similar Threads

requiresConfirmation not working
FilamentFFilament / ❓┊help
3y ago
Action not working with requiresConfirmation()
FilamentFFilament / ❓┊help
2y ago
table actions not working
FilamentFFilament / ❓┊help
15mo ago
extraAttributes on Bulk Actions not working correctly?
FilamentFFilament / ❓┊help
3y ago