FilamentF
Filament17mo ago
Pritbor

Attach action error in RelationManager

I am getting below error during Select search while performing Attach action in header of Relationship manager.
Call to undefined method App\Models\Setting\BusinessCategory::businessCategories()
I have BusinessCategory model with N:N relationship with itself. My model has parents() and children() methods. Currently it is only two level. And I using using simple Attach action in the Header.
Was this page helpful?