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!
4 Replies
Dispatch a Livewire event to reload the page (yes you cannot just refresh badges)
$livewire->dispatch('your-event')
and #[On('your-event')
on the componentHi Dennis! Thanks four your time.
It's not a component, It's just a Resource with default table. No customo view to modify.
ListUsarios will be your component.
It’ll be in the Pages directory next to your resource.
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.