Add a loader when the pagination changes inside the table

How to add a loader when the pagination changes inside the table?
3 Replies
Umar Farooq
Umar FarooqOP5mo ago
@Dan Harrin
LeandroFerreira
LeandroFerreira5mo ago
read #✅┊rules
No description
Umar Farooq
Umar FarooqOP5mo ago
find a workaround
<x-filament-panels::page>
<div wire:loading.class="opacity-50"
wire:target="tableFilters,applyTableFilters,resetTableFiltersForm, nextPage, gotoPage, previousPage, tableRecordsPerPage"
class="relative">
{{ $this->table }}

<div
wire:loading
wire:target="tableFilters,applyTableFilters,resetTableFiltersForm, nextPage, gotoPage, previousPage, tableRecordsPerPage"
class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2" style="left: 50%;">
<x-filament::loading-indicator class="h-10 w-10 text-primary-500"/>
</div>
</div>
</x-filament-panels::page>
<x-filament-panels::page>
<div wire:loading.class="opacity-50"
wire:target="tableFilters,applyTableFilters,resetTableFiltersForm, nextPage, gotoPage, previousPage, tableRecordsPerPage"
class="relative">
{{ $this->table }}

<div
wire:loading
wire:target="tableFilters,applyTableFilters,resetTableFiltersForm, nextPage, gotoPage, previousPage, tableRecordsPerPage"
class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2" style="left: 50%;">
<x-filament::loading-indicator class="h-10 w-10 text-primary-500"/>
</div>
</div>
</x-filament-panels::page>
Want results from more Discord servers?
Add your server