F
Filament7mo ago
Luiz

How to hide relation manager only on view pages

I found how to hide it on edit pages, but I want to hide it only when using the view route
Solution:
you can register the relation manager only in the EditPage ```php public function getRelationManagers(): array {...
Jump to solution
1 Reply
Solution
LeandroFerreira
LeandroFerreira7mo ago
you can register the relation manager only in the EditPage
public function getRelationManagers(): array
{
return [
YourRelationManager::class
];
}
public function getRelationManagers(): array
{
return [
YourRelationManager::class
];
}
Want results from more Discord servers?
Add your server