F
Filamentβ€’17mo ago
metts9735

Loading indicator after Filter fired

Hi! Can I add a loading indicator to the table after updating a Filter? https://i.vgy.me/I7tUfv.gif Or should i handle on js side? (
3 Replies
Patrick Boivin
Patrick Boivinβ€’17mo ago
Assuming this is a custom page (looks like a custom form and some Grafana iframes?), I think you can add a global loading indicator with wire:loading https://laravel-livewire.com/docs/2.x/loading-states#toggling-elements
Livewire
Loading States | Livewire
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Patrick Boivin
Patrick Boivinβ€’17mo ago
Maybe a div with a low opacity and a spinner, that covers the form/graph area
metts9735
metts9735OPβ€’17mo ago
nice, thx, its working πŸ™‚
Want results from more Discord servers?
Add your server