F
Filament12mo ago
Masea

Adding filters to a Page and manipulating its widgets' content with them

Can I somehow add filters to a Page and then pass the filter values through a widget and use it inside the widget? I am using the FullCalendar plugin and it is limited only to dates when it comes to filtering the calendar content. In this plugin, the calendar is contained inside a widget hence my question.
5 Replies
Patrick Boivin
Patrick Boivin12mo ago
Filament
How to Refresh Widgets When Table Actions Are Fired by Leandro C. F...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Saade
Saade12mo ago
☝️ that's the right way to do it
Masea
Masea12mo ago
In my case it is going to be a Page not a Table What do you think? I missed the part where it sends a value to a widget from page I don't even know how can i create filters inside my page
Patrick Boivin
Patrick Boivin12mo ago
How are you going to implement your filters, as a custom form? An idea: In your custom page, you could add a Livewire component for the custom form/filters. When the form is submitted (e.g. by clicking "Apply filters") you can emit an event to all widgets with the form data
Masea
Masea12mo ago
Thanks for the idea, will see if that will be ok