Using $record in ListRecords and page table data in widget

I want to use a parameter in a ListRecords page. This is working fine, except when I want to add interactive widgets. I'm using the ExposesTableToWidgets trait to expose table data, and in the widget I'm using the InteractsWithPageTable and I have added the protected function getTablePage() as described in the documentation (https://filamentphp.com/docs/3.x/panels/resources/widgets#accessing-page-table-data-in-the-widget) When I'm using the widget $record is not set anymore. (it is loading twice, first time its good, second time is without the property). Is it possible to use ListRecords and have interactive Widgets based on the table data?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server