© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
3y ago
•
1 reply
John Wink
Eager Loaded Pivot not working
If it is a BelongsToMany relationship
, no pivot values are displayed in the repeater
, only the values from the related model
.
If you try in the Filament
\Forms
\Components
\Repeater Component at the time 1036 first
:
return ["record-{$item[$relatedKeyName]}"=>$item->pivot ?? $item];
return ["record-{$item[$relatedKeyName]}"=>$item->pivot ?? $item];
then it works
(the values from the related model are missing here
, but actually the pivot values should also be loaded and not the other way round
.
Any ideas here
? Otherwise I would capture this bug
, create a demo repository and create a pull request with my solution
.
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Problem: Exporter Not Working with Eager-Loaded Relationships
F
Filament / ❓┊help
13mo ago
Eager loaded relationships filter
F
Filament / ❓┊help
2y ago
Eager loaded relationship not updating after component action called
F
Filament / ❓┊help
6mo ago
Eager loaded relationship based on table filter
F
Filament / ❓┊help
3y ago