Parimal
Parimal
Explore posts from servers
FFilament
Created by Parimal on 9/26/2024 in #❓┊help
Show loader on table component render only.
I have already tried wire:target but now loader not showing on table update/render. I want to show loader on table update/render i.e. after deleting when table refresh i want to show loader.
<!-- Loader -->
<div wire:loading.flex wire:target="tableFilters,applyTableFilters,resetTableFiltersForm,nextPage,gotoPage,previousPage" class="absolute inset-0 bg-white bg-opacity-75 flex justify-center items-center z-50">
<svg class="animate-spin h-8 w-8 text-gray-500" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8v8H4z"></path>
</svg>
<span class="ml-2 text-gray-500">Loading Task...</span>
</div>
<!-- Loader -->
<div wire:loading.flex wire:target="tableFilters,applyTableFilters,resetTableFiltersForm,nextPage,gotoPage,previousPage" class="absolute inset-0 bg-white bg-opacity-75 flex justify-center items-center z-50">
<svg class="animate-spin h-8 w-8 text-gray-500" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8v8H4z"></path>
</svg>
<span class="ml-2 text-gray-500">Loading Task...</span>
</div>
3 replies
FFilament
Created by Alvika Aji Prahasta on 8/14/2024 in #❓┊help
Table TextInputColumn Update Other Model
Event can be dispatched from method by
$this->dispatch('refreshScorecardTable')
$this->dispatch('refreshScorecardTable')
7 replies