© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•10mo ago•
7 replies
Jamie Cee

Setting relationship name for attach action

I have a resource called NotifiableEvent, it has a many to many with NotifiableUsers.

I have a relationmanager on the Event resource, which points to NotifiableUsers, but the relation in the model is defined as 'events', but I get this error when I click the default attach action
Call to undefined method App\Models\NotifiableUsers::notifiableEvents()
Call to undefined method App\Models\NotifiableUsers::notifiableEvents()


How can I tell it to look for the 'events' defined relation function instead?
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

Attach Action - Debounce Setting
FilamentFFilament / ❓┊help
3y ago
ManyToMany Relationship Attach Action on Custom Table
FilamentFFilament / ❓┊help
8mo ago
Attach & attach another action label in relationship attach modal, can it be changed?
FilamentFFilament / ❓┊help
17mo ago
Form Attach action?
FilamentFFilament / ❓┊help
2y ago