Can we have 2 level Relation Manager
I need suggest on how do I build 2 level Relation Manager.
In my application I have Client which has many Campaign . Each Campaign has many Videos.
I have created Relation between Client->Campaign.
I would like if I click on Campaign it opens a similiar page as on image (attached) with Videos listed in that Campaign.
Currently after clicking on Campaign it opens Edit form in Model.
4 Replies
You could build a campaigns lifewire element which loads in a table based of the elements. I did this for transactions for a bank account
Thank you. Do you have any open source code example?
Build a livewire component which has a table
https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component
But modify the query to pull in the id from the table icon that is passed into the mount method π
means a slideover or modal for the table but it works
Or you add a custom page with a table, and render the content based on the passed in id.