Need help on TextColumn
How to show up role, i use jetstream roles. (membership.role) and (pivot_role) not working also (pivot.role)
2 Replies
Check your model relations, it should have e.g
membership()
relation first,
and try too to modify the query to load the relations using the ->with('membership')
method
in general it is just a relation issue, be sure about the names used in your model relation
the ->with()
part is only for eager loadingThe role is under
relations -> membership -> role.
idk how to get it