I have an Infolist Builder, and within it, I ahve created some tabs. Now, I've worked out how to get a Livewire Component to render some content to one of the tabs, but what I would like is for that Livewire Component to display related objects.
I am also able to do that, but rather than showing objects related to the Resource I'm viewing, it shows ALL (in my component I have
$table->query(Related::query())
$table->query(Related::query())
so that doesn't really surprise me that it does that.
What I would like to know is how I can get the parent Resource model/ID in the Component to be able to alter the query method to only return related models