Many2Many sortable repeater, adding existing items.
I have a 'campaign' which can have multiple scenario's but these scenario can be part of multiple campaigns. I want something like a repeater to add options to it but also be able to add existing items. (should also be sortable)
Anyone have an idea how to do this?
Solution:Jump to solution
I think a Relation Manager might be give you a nicer UX, not sure if the Repeater will let you both create new items and attach existing items...
This describes a different problem but arrives at the same solution:
https://filamentphp.com/tricks/attaching-records-using-the-repeater-field-and-hasmany...
Filament
Attaching records using the Repeater field and HasMany by Patrick B...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
2 Replies
Solution
I think a Relation Manager might be give you a nicer UX, not sure if the Repeater will let you both create new items and attach existing items...
This describes a different problem but arrives at the same solution:
https://filamentphp.com/tricks/attaching-records-using-the-repeater-field-and-hasmany
Filament
Attaching records using the Repeater field and HasMany by Patrick B...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
I have exactly that example as a issue, thnx a lot i think i can fix it now