Hello! I am creating a menu with children sort object in Vue. All is working well, but is it possible to disable to possibility to not be able to drop it below a certain item but above it can? So like this: Item1 Item2 - Subitem1 - Subitem2 Item3 Disabledfield ( used so we can drop after it when it ends with children) I want to be able to drop it above Disabledfield but not below. Is this possible?
Activity
hundekoerper commentedon Jan 12, 2017
maybe this issue can help you #347
ulken commentedon Jan 14, 2017
Sounds like a combination of
filterandonMoveis what you are after. See #1021 for an example.nickkuijpers commentedon Jan 16, 2017
This is exactly what i need. Thanks so much!!!
func-dave commentedon Mar 28, 2020
Sorry for necro-post, it helped me to use the following here in 2020.
Adeel992 commentedon Feb 22, 2022
Is there any way to make some items disable on a list?
ulken commentedon Feb 22, 2022
If I understand you correctly, then sure. The
filteroption is what you're after. From the docs:Depending on your setup, you could also do the invert and specify which items should be
draggable. Again, from the docs:You find example usages in previous comments and linked issues in this thread or the docs.