vue-slicksort
vue-slicksort copied to clipboard
[Question] Add new items to list by dragging from a static list
Hey there,
This looks really great! I'm looking to implement this in a fairly specific way and would just like to know if this is possible or if you could give any pointers on how to make it function like this; I would like to have it so the user can add new items into the sortable list by dragging them from a static, non-sorting list of items
Thanks! Steve
Me too.
It would be nice if one could indicate which actions are allowed on a list. For example a setting with which one could separately enabled/disable the 'sort' and/or 'move' actions (e.g. something like actions = ['sort', 'move']
as a prop on the SlickList component).
If something like that was to be implemented, I think the issue raised above could be handled quite easily by creating a list that allows 'move' actions (but no 'sort'), while preventing anything to be dropped into it (using the existing property accept=[]
).
On the same page, users could then also have other lists which do have full functionalities.
I'm proposing this, since I have a similar issue: I want to move items between lists, but disable sorting on both lists. I believe it would be cool to be able to enable/disable specific actions per list to serve multiple use-cases at once. It would be even cooler it this setting could be changed 'on the fly'.
@Jexordexan , any thoughts on such a setup? Would you be willing to add something like this to the library?