FilamentF
Filament11mo ago
Kaaiman

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
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
Was this page helpful?