asantibanez/laravel-blade-sortable

Multiple drop zones

Opened this issue · 2 comments

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:

  • do not use group param
  • use different group params for A and B
  • use group param for A, empty for B
  • use group param for B, empty for A

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

Have you tried :allow-drop="false" ?