Collapse list page widgets
I want to be able to collapse (show/hide) the widgets above the table. How to do that?
I have these widgets in my resource list page
5 Replies
Any one can help?
Do you want to collapse them individually or as a group? Either way you’ll need a custom widget so you can update the views.
I want to collapse them in group.
Can you tell me which view should I update?
Or if I need to create a custom widget, can we create a widget that will contains other widgets?
I read these pages:
- https://filamentphp.com/docs/3.x/panels/resources/widgets#creating-a-resource-widget
- https://filamentphp.com/docs/3.x/support/plugins/build-a-panel-plugin#step-4-create-the-widget
But I didn't find a way to da that
Yea. You’ll need a custom widget with a custom view.
Widgets are just livewire components.
Ok then, I will create a custom one, and let you know the results