F
Filament14mo ago
Noxo

ViewEntry - poll

I have a pending payment view that I need to update every 10 seconds. Is there a way to poll the ViewEntry every 10 seconds? Or maybe poll the entire InfoList?
No description
1 Reply
Malcolm Turntbull
I too would be super interested to find out if this is possible! OK, I think I have found the solution, although I'm still testing to see if it actually works. From what I can tell, you can add wire:poll as an extra attribute to basically anything.
TextEntry::make('total')
->extraAttributes(['wire:poll.5s' => ''])
TextEntry::make('total')
->extraAttributes(['wire:poll.5s' => ''])
Want results from more Discord servers?
Add your server