Need two tabs with two different tables with two different models on one page
Hey guys,
I have this request: I have two models: Intervention and InterventionRequest. I have InterventionResource that has ListInterventions. I need on that page have tabs for Interventions and Requests. Each tab will have each own table for that model. How to do that? Should I create custom page?
1 Reply
I'd take a look at this.
Make 2 livewire components that each create a table, and a view that includes them. Not sure how well it would go about insulating cross contamination. But that should get you started 🙂
https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component