Open Hesesses opened 2 years ago
Have you tried :allow-drop="false" ?
My example was simplified (a and b). In my real world app, cant use allow-drop=”false”
On Thu 12. May 2022 at 5.42, Facundo Otrino @.***> wrote:
Have you tried :allow-drop="false" ?
— Reply to this email directly, view it on GitHub https://github.com/asantibanez/laravel-blade-sortable/issues/20#issuecomment-1124472247, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUYRMXDORXD5Q7ADV4C47DVJRVZ7ANCNFSM5U6ZAAWQ . You are receiving this because you authored the thread.Message ID: @.***>
Hello,
The problem i'm having is to NOT have linked drop zones. I would like to have just 2 listings A and B. You should not be able to drag item from A to B or from B to A
I have tried this with:
Any ideas?
Edit:
I can return false from wire:onSortOrderChange function to disable the dropping, but would be nice to disable this from UI also