Global Loading Indicator
- Published: 09 Apr 2024 Updated: 04 May 2024
provide a loading indicator for long running operations
Why?
Certain operations in Filament may experience prolonged loading times, for example when applying filters to a table. The following code snippet introduces a renderhook to the footer, coupled with an Alpine listener to display a loading message.
Ensure to set the timeout to a sufficiently high value to prevent the message from appearing unnecessarily for small requests.
Related Tricks:
add any link or actions to the topbar
make all Field or any components translatable
Bring the sticky actions back form filament v2
how to make actions sticky in tables when you have a lot of columns