danw0921
Call to undefined method using Relation Manager Attach
@pboivin You're right, it turns out I did need the inverse relationship.
In Exercise.php model I added:
And in RelatedExercisesRelationManager.php I added
I'm not entirely sure why this is needed, but it works! I can now search and attach in the modal as expected.
Thank you for your help.
9 replies