© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•5mo ago•
5 replies
Kaaiman

Refresh sidebar doesn't work

For my sidebar navigation item I only want to show the badge when a certain condition is true. I specified that condition in the Settings page class. When I try to refresh the sidebar on form save, this doesn't do anything.

Any idea's on why this doesn't work properly?

public function getSaveFormAction(): Action
    {
        return parent::getSaveFormAction()
            ->dispatch('refresh-sidebar');
    }
public function getSaveFormAction(): Action
    {
        return parent::getSaveFormAction()
            ->dispatch('refresh-sidebar');
    }
Solution
Dispatch the event from
afterSave()
afterSave()
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

$wire.$refresh() doesn't work
FilamentFFilament / ❓┊help
2y ago
afterStateUpdated doesn't work
FilamentFFilament / ❓┊help
2y ago
ExportBulkAction doesn't work
FilamentFFilament / ❓┊help
2y ago
afterStateHydrated() doesn't work?
FilamentFFilament / ❓┊help
3y ago