© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Luiz Cristino

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

public function getRelationManagers(): array
{
    return [
        YourRelationManager::class
    ];
}
public function getRelationManagers(): array
{
    return [
        YourRelationManager::class
    ];
}
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Relation manager only on view page
FilamentFFilament / ❓┊help
2y ago
Hide edit form + show only relation manager
FilamentFFilament / ❓┊help
3y ago
Conditionally hide relation manager
FilamentFFilament / ❓┊help
2y ago
Hide row action in Relation Manager shown in view page
FilamentFFilament / ❓┊help
3y ago