Adding filter to custom widget

Hi, how can I implement a filter (start and end date) to a custom widget?

Should I use a custom action for that or can I utilize filament filters for that?

Thank you!
Was this page helpful?