ironclaw8986
Select is not working for a BelongsToMany relationship in RelationManager
I have a Team model which has a BelongsToMany relationship with Products, including a pivot table:
and vice versa in Product:
In my TeamResource I've added:
And I created a ProductsRelationManager:
The problem is, no matter how I configure the Select, I either can't get any results or I get the error "Call to a member function getResults() on null"
The question therefore is, how can I correctly edit the Product which is attached to the Team using a Select?
7 replies