Is Many To Many possible in a Filament form? #287
Replies: 3 comments 5 replies
-
Googled many to many and Filament and got here. I'm sure it's possible! Going to look further. |
Beta Was this translation helpful? Give feedback.
-
Can someone mutate the many-to-many table before update? |
Beta Was this translation helpful? Give feedback.
-
If you haven't included --attach when creating the relationship manager manually include the various actions in the table section of the relationship manager as set out here: Just to be complete, if you do not see the relationship manager table underneath the specific model: |
Beta Was this translation helpful? Give feedback.
-
Looking to have a pre-filled checkbox values based on the pivot table from a many-to-many relationship.
I suppose a good example of this would be roles from Spatie's roles package, allowing you to edit the users' roles.
I couldn't find a good way of doing this, it doesn't seem there are any column types native to Filament that can handle something like this.
Could I have an example if possible? Loving the package and have starred it. :)
Beta Was this translation helpful? Give feedback.
All reactions