ListRecords with tabs and selectColumn

Hi! My user list page has tabs with badges, counting users in each state. The table has a SelectColumn to change that state. How can I refresh the tab badges to refresh the new user status count? Thanks!
No description
No description
4 Replies
Dennis Koch
Dennis Koch4mo ago
Dispatch a Livewire event to reload the page (yes you cannot just refresh badges) $livewire->dispatch('your-event') and #[On('your-event') on the component
PabloZagni
PabloZagniOP4mo ago
Hi Dennis! Thanks four your time. It's not a component, It's just a Resource with default table. No customo view to modify.
awcodes
awcodes4mo ago
ListUsarios will be your component. It’ll be in the Pages directory next to your resource.
PabloZagni
PabloZagniOP4mo ago
Filament
How to Refresh Widgets When Table Actions Are Fired by Leandro Ferr...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
Want results from more Discord servers?
Add your server