Allow duplicates?
Hello everione, first day with filament.
I want to archive something, i have two models Member and Memberships, with a BelongsToMany relation, it works fine, but i want to add multiple instances of the same Membership to a Member, but when i want to attach another membership it dosent show, anyone can help me, i follow the allow multiple documentation but seems like i do it wrong. thanks
4 Replies
How does your code look? Have you added id field on the pivot table? and allowsDuplicates?
Hi, thanks for answer, yes i added to the RelationManager
Solution
i just did somehting like this
works fine now