© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
8 replies
keiron

Redirect to List after Edit - Global setting?

Hi, the default behaviour after editing a resource is to stay on that resource's page. Is it possible to make a global change to redirect on edit to the List view?
Solution
Starting with Filament v4, there is a global configuration option for this:

use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->resourceCreatePageRedirect('index') // or
        ->resourceCreatePageRedirect('view') // or
        ->resourceCreatePageRedirect('edit');
}
use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->resourceCreatePageRedirect('index') // or
        ->resourceCreatePageRedirect('view') // or
        ->resourceCreatePageRedirect('edit');
}


https://filamentphp.com/docs/4.x/resources/creating-records#customizing-redirects
Creating records - Resources - Filament
Jump to solution
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

redirect after edit
FilamentFFilament / ❓┊help
2y ago
Redirect to list page with action to open edit SlideOver
FilamentFFilament / ❓┊help
7mo ago
Relations Table Edit To Redirect?
FilamentFFilament / ❓┊help
3y ago
Edit in line - List
FilamentFFilament / ❓┊help
3y ago