Nested Sortable
I tried to use an existing plugin to manage tree structure (ie : solutionforest/filament-tree), but this pluging implements jquery to manage drag/drop of nested elements. it works fine but in a fantastic framework like Filament which only implements alpinejs and Vanilla JS stuff, I think it's a shame to use JQuery, not to mention the conflicts and errors generated in the console be using it. So I set out to use Sortable, which is already part of Filament, but I'm faced with the problem of nested lists, Sortable is perfect for sorting in a list but doesn't seem to work for nested lists. Has anyone ever used Sortable for nested lists? Thanks in advance for your feedback.
1 Reply