Call to a member function isRelation() on null
i get the above error when i try to get product relationship from a select input
the relationship is belongs to.
12 Replies
if this is tenant scope i would do this
$query->where('team_id', Filament::getTenant()->id)->where('active', true);
Still it is nog quite 'secure'
See this for TennantScope https://filamentphp.com/docs/3.x/panels/tenancy#tenancy-securityNot a tenant scope,
Just a company model extending the team model
Standalone form, right? Can you share the form code?
I got the same error trying to use Livewire component with Action that has relationships.
https://discord.com/channels/883083792112300104/1196887037740073152
Please don't cross-post if you already opened a help thread.
sorry guy
here, it is from a standalone action
Yeah. Same issue. It's missing
->record()
on which part do i add that?
On the form. And you need to pass your model
Thanks , just what am looking for