© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2mo ago•
114 replies
mrleblanc101

Editing pivot data of Relationship not working

✅ Solved4️⃣v4
I created a RelationshipManager and I can Attach to my relationship with a pivot field.
This works properly, and I can display the pivot data in the relationship table as you can see in the first 2 screenshots.

My issue is, if I click Edit next to the relationship, the "Role" field won't get filled.
Also, if I create a new Contact form outside the relationship manager, the pivot field is still displayed and shouldn't.
Both the relationship and inverse relationship have
->using("RolePivot::class")->withPivot("role")
->using("RolePivot::class")->withPivot("role")


Any idea what's going on ?
Can't find any example in the docs other than very simple ones in https://filamentphp.com/docs/4.x/resources/managing-relationships
Capture_decran_le_2025-12-08_a_12.14.17.png
Capture_decran_le_2025-12-08_a_12.14.36.png
Managing relationships - Resources - Filament
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

Fill Not Working - MultiSelect - With Pivot Table Relationship
FilamentFFilament / ❓┊help
2y ago
Repeater not saving pivot relationship
FilamentFFilament / ❓┊help
2y ago
Relationship with pivot
FilamentFFilament / ❓┊help
3y ago
Editing a Relationship
FilamentFFilament / ❓┊help
3y ago
Next page