Need help with Morph Relationship
I am trying to build the UI for user roles / permissions in filamentphp - one that uses spatie laravel permissions package.
Now the role / permission have morphedToMany relation with user having the same stored in model_has_roles/model_has_permissions
How to achieve the same with filamentphp - we do have MorphToSelect - but unfortunately am not clear as how to deal with it. Some help will be awesome
0 Replies