Going deeper on Tenant relationships
I'm trying to create a resource for a child of a resource that belongs to my tenant. But since the child resource doesn't have a direct relation to the tenant, when I try to view the list page, I'm getting an error as such. I'm likely missing something obvious, and don't know if this is a Filament question or general Laravel question.
The error message:
Button BelongsTo ButtonGroup
ButtonGroup BelongsTo Agency
Agency is my Tenant
I have tried and failed to add an function into my Button model, but can't get one to work.
The error message:
Button BelongsTo ButtonGroup
ButtonGroup BelongsTo Agency
Agency is my Tenant
I have tried and failed to add an function into my Button model, but can't get one to work.
Solution
I found this closed Issue (https://github.com/filamentphp/filament/issues/8468), which references the . Looked it up and installed the package. I have gotten past my errors.