Table actions have loading indicator at all times
I load a table in my livewire page. I don't click any actions but loading indicators are apparent as soon as I load the page.
This is my table but I am pretty sure it is not related to it:
It used to be not like this. Something triggered it but dunno why. Any idea? Thanks guys
14 Replies
Aynone please? Up
any console errors? seems like livewire isn't loading.
I am not getting any errors. Only this but i think it is not related at all:
Livewire works btw
I can do everything as I would
ok. so there's a bug in that plugin potentially. you should reach out to the author of the plugin. Basically it's breaking the JS, as a result livewire and alpine can't finish executing, thus preventing the spinners from getting hidden.
It was working with that error being apperant back in the time
I am sure it is not related
have you published any of Filament's views?
other than that i'm not sure. those spinners show whenever a livewire request is being made and takes longer that 200ms to complete.
what else should not be working while a livewire request is being made?
"have you published any of Filament's views?" how can i make sure of that if i did? I don't quite remember that atm
if you have a 'resources/views/vendor/filament' directory then you have published the views.
no i don't have that directory
also, is it every table or just the table on this page?
hold on, let me check
Interestingly, it is on the every page outside my filament panel
What do u think
are you including Alpine in any of your JS files?
Uh, I found the problem. I was including both @FilamentScripts and @livewireScripts. I now only include @FilamentScripts and it is working 😐 Thanks anyway