© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
10 replies
kisut

Relation Manager section didn't show up

Hi,

I created a belongsToMany relation between two models with this setting.

Track Model
public function releases()
    {
        return $this->belongsToMany(Release::class);
    }
public function releases()
    {
        return $this->belongsToMany(Release::class);
    }


Release Model
public function trackAlbum()
    {
        return $this->belongsToMany(Track::class, 'album_track', 'release_id', 'track_id');
    }
public function trackAlbum()
    {
        return $this->belongsToMany(Track::class, 'album_track', 'release_id', 'track_id');
    }


and I created a relation manager with commands like this
php artisan make:filament-relation-manager ReleaseResource trackAlbum track_title
php artisan make:filament-relation-manager ReleaseResource trackAlbum track_title


I have registered the relation in Release resource but the section relation under the form is not showing up. Is there a mistake?
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

Conditionally show relation manager
FilamentFFilament / ❓┊help
2y ago
Show records with Relation Manager
FilamentFFilament / ❓┊help
2y ago
Can't get pivot field to show up in relation manager
FilamentFFilament / ❓┊help
6mo ago
Show relation manager of a relation manager in same view
FilamentFFilament / ❓┊help
2y ago