How can I access pivot relationship in repeater?

I have a belongsToMany relationship but for some reason the pivot is lost. I have fields with same names in both pivot and ref table.

I have tried to use loadStateFromRelationshipsUsing instead of relationship but then I get wrong $record model in Repeater schema... please advice.
Was this page helpful?