Edit Resource Page: Is it possible to re-render the subnavigation/page when the record is saved?

I want to optionally show the subnavigation item which I fixed by overriding the canAccess on the ManageRelatedRecords page. Now I want to re-render the subnavigation when a field in my ownerRecord changes. Is this possible?
Solution:
Currently, I think you need to refresh the page, but in Filament V4, it should be possible because the sidebar is a Livewire component: https://github.com/filamentphp/filament/blob/4.x/packages/panels/src/Livewire/Sidebar.php
GitHub
filament/packages/panels/src/Livewire/Sidebar.php at 4.x · filament...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
Jump to solution
2 Replies
Solution
LeandroFerreira
Currently, I think you need to refresh the page, but in Filament V4, it should be possible because the sidebar is a Livewire component: https://github.com/filamentphp/filament/blob/4.x/packages/panels/src/Livewire/Sidebar.php
GitHub
filament/packages/panels/src/Livewire/Sidebar.php at 4.x · filament...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
Kaaiman
KaaimanOP3w ago
That is good to hear! I will keep it at refreshing for now, thank you.

Did you find this page helpful?