Multiple relation managers on manage related records page

Hey,
I would like to know if it is possible to have two different relation managers on a Manage Related Records page. The user would be able to switch between these managers using tabs above the relation manager as it is done in normal view/edit pages that have multiple relation managers. I currently have just one relation manager above which I have managed to display the tabs used for switching by including the HasTabs trait. However, from my code diving into the trait, I'm not sure how can I switch between two tables - if it's even possible

use HasTabs;

    public function getTabs(): array
    {
        return [
            Tab::make('table1'),
            Tab::make('table2'),
        ];
    }

I've attached an image
demonstration.png
Was this page helpful?