How to bind the filters of a filament table created in a livewire component with a widget?
I have made a custom filament table inside a livewire component. I have made it and its working as intented. I have also made a widget that i want to bind to this table so that when i change the filters etc the stats will be automatically updated. In the filament table i have
and in the widget i have
In the view now i have a Livewire component and inside the view of it i call
also inside another div on this view that i call the widget
But i get
Cannot assign null to property App\Livewire\OrderStatsOverview::$tableColumnSearches of type array
Is there something else i need to do in order to achieve what i want?
Its not inside a resource because i have a table inside a livewire component which i have made using this
https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component
0 Replies