© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
tidiani12

How to create submission confirmation modal in admin panel like requireConfirmation in delete action

I tried to do that way but I just got a notification
protected function beforeCreate(): void
    {
        Notification::make()
            ->title('Saved successfully')
            ->success()
            ->body('Changes to the post have been saved.')
            ->actions([
                Action::make('view')
                    ->button(),
                Action::make('undo')
                    ->color('gray')
                ])
            ->send();
        $this->halt();
    }
protected function beforeCreate(): void
    {
        Notification::make()
            ->title('Saved successfully')
            ->success()
            ->body('Changes to the post have been saved.')
            ->actions([
                Action::make('view')
                    ->button(),
                Action::make('undo')
                    ->color('gray')
                ])
            ->send();
        $this->halt();
    }
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

Confirmation modal before action.
FilamentFFilament / ❓┊help
3y ago
How to add action who requires confirmation in modal extra actions
FilamentFFilament / ❓┊help
3y ago
Confirmation modal for actions other than delete?
FilamentFFilament / ❓┊help
3y ago
How can I create a modal form in the admin panel?
FilamentFFilament / ❓┊help
3y ago