Hi guys!
I am adaption a pet project I have been using sortablejs.
To make an analogy to the README examples, one of my components renders two sets of "groups". In other words, I end up having two instances of this example on the same page.
As expected, "groups" aren't draggable across both components. However, "tasks" are.
I tried to specify Sortable JS group option as my current implementation is. So i adapted wire:sortable-group.options="{ animation: 50, group: 'group-{{ $prefix }} }" >. $prefix is a string property with unique values across component runs. This didn't had any effect.
Hi guys!
I am adaption a pet project I have been using sortablejs.
To make an analogy to the README examples, one of my components renders two sets of "groups". In other words, I end up having two instances of this example on the same page.
As expected, "groups" aren't draggable across both components. However, "tasks" are.
I tried to specify Sortable JS group option as my current implementation is. So i adapted
wire:sortable-group.options="{ animation: 50, group: 'group-{{ $prefix }} }" >.$prefixis a string property with unique values across component runs. This didn't had any effect.