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.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server