F
Filamentβ€’2y ago
Matthew

Widgets only update when the you are looking at the page

Is it possible to override this, and make the page update even when you are not looking at the page?
Solution:
try set protected static ?string $pollingInterval = 'keep-alive'; not tested ofc πŸ™‚ ref:...
Laravel
wire:poll | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Jump to solution
4 Replies
Matthew
MatthewOPβ€’2y ago
Any help?
Solution
Lara Zeus
Lara Zeusβ€’2y ago
try set protected static ?string $pollingInterval = 'keep-alive'; not tested ofc πŸ™‚ ref: https://livewire.laravel.com/docs/wire-poll#background-throttling
Laravel
wire:poll | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Lara Zeus
Lara Zeusβ€’2y ago
i forget to ask is it a widget or table? for table ->poll('keep-alive');
Matthew
MatthewOPβ€’2y ago
Its for a widget! I will try this out! Yes, this worked! Thank you

Did you find this page helpful?