custom widget polling

I added a custom widget to one of my resource's edit page. I want it to be polled and I gave widget's view's root element a wire:poll attribute like this but it doenst work:
<x-filament-widgets::widget wire:poll.15s>


I would like to use stats widget since polling is in it. But I also need a button on my widget and afaik stat widgets do not support actions. Any idea?
Was this page helpful?