Tabs with different content
Hello,
I'm new to Filament and I'm stuck with organizing resources. I hope someone can point me into right direction.
I have Company which has Users and Projects. I want to have one page that will have three tabs:
This works as expected - I get two tabs displaying tables. How can I add 1st tab which will display company details? Am I on the right path when doing it with relations? Can relation point to infolist instead of table? Or should I work with tab some other way?
I'm new to Filament and I'm stuck with organizing resources. I hope someone can point me into right direction.
I have Company which has Users and Projects. I want to have one page that will have three tabs:
- 1st tab will display company details, address, etc.
- 2nd tab will display all users
- 3rd tab will display all projects
public static function getRelations(): array
{
return [
ProjectsRelationManager::class,
UsersRelationManager::class,
];
}This works as expected - I get two tabs displaying tables. How can I add 1st tab which will display company details? Am I on the right path when doing it with relations? Can relation point to infolist instead of table? Or should I work with tab some other way?