BelongsToMany data view
I have two tables, members and subscriptions and they have the belongsToMany relationship, I succeeded to attach subscriptions to a member but how can I list them?
4 Replies
You need to set up some columns. If your relationship is correct it will list them.
sure @Dennis Koch , I meant to list some data in from the pivot table (member_subscriptions tables)
Did you check the docs?
https://filamentphp.com/docs/2.x/admin/resources/relation-managers#listing-with-pivot-attributes
Filament
Relation managers - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
oooh I was using the wrong docs @Dennis Koch
thank you for this