Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

Multidrag: support for custom select handle

Open philippkuehn opened this issue 6 years ago • 8 comments

Currently you have to click an item to select it. In my case it would like to have a checkbox to select an item. There is already Sortable.utils.select() to select an item programmatically but then it would be nice to disable the default click event handler.

philippkuehn avatar Jul 31 '19 10:07 philippkuehn

@philippkuehn Would you want it also so that it would not all be deselected if the user clicks somewhere else on the page? If so, I think it might be best to allow for a disableSelection option so that you can implement this yourself with events.

owen-m1 avatar Jul 31 '19 21:07 owen-m1

The same requirement to me. I have several cards and I need click the checkbox to select. Like this image

SunHuawei avatar Aug 01 '19 05:08 SunHuawei

@owen-m1 Yes, I think that would be nice.

philippkuehn avatar Aug 01 '19 08:08 philippkuehn

Just ran into a case where this would be very useful.

phphq avatar Oct 11 '19 15:10 phphq

I think it's very useful

bfrontend avatar Mar 08 '22 06:03 bfrontend

Any news? This feature would be great

philippviereck avatar Feb 06 '23 20:02 philippviereck

Any news? We are still waiting)

Oles-R avatar Jul 24 '23 14:07 Oles-R

I miss it too. My preferred solution would be callbacks like onBeforeSelect(evt) { // do something or not. return false; // cancel the default behavior } onBeforeDeselect...

But another flag "disableDefaultSelection" would also be a solution :-)

josch-001 avatar Nov 10 '23 20:11 josch-001