F
Filamentβ€’13mo 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β€’13mo ago
Any help?
Solution
Lara Zeus
Lara Zeusβ€’13mo 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β€’13mo ago
i forget to ask is it a widget or table? for table ->poll('keep-alive');
Matthew
MatthewOPβ€’13mo ago
Its for a widget! I will try this out! Yes, this worked! Thank you
Want results from more Discord servers?
Add your server