relationship select morphMany
Is there any particular reason why this is not supported? It's only one model (in my case user) I have tried the following so far:
I got this error: https://flareapp.io/share/yPa2qjp7#F77
this is how i defined the relationship:
Flare
Filament\Forms\Components\Select::getRelationship(): Return value must be of type Illuminate\Database\Eloquent\Relations\BelongsTo|Illuminate\Database\Eloquent\Relations\BelongsToMany|Znck\Eloquent\Relations\BelongsToThrough|null, Illuminate\Database\Eloquent\Relations\MorphMany returned - The error occurred at http://127.0.0.1:8000/admin/projec...
2 Replies
MorphMany is like HasMany
maybe you want MorphToMany
your right, holy shit lol
Thank you so much!