-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add drag and drop capabilities #1
Comments
Probably for later. Wanted to minimize amount of javascript used - yet make it configurable for most use cases. These maybe embedded as optional plugins later. Note that sorting/reordering is currently possible through the arrow keys (up, down, left, and right). |
What's with this feature? It's hard to manage tree without drag-and-drop. |
Limited by time and may not be able to focus on this immediately. Its lower in my priority currently - because of the additional overhead to both PHP & JS code - as well as the complex DB queries needed to achieve this and the performance. Please feel free to submit a PR for this if you want it faster or find a better approach to do this. |
Here is my simple solution: https://stackoverflow.com/questions/49487557/javascript-add-form-model-name-to-formdata `<script>
</script>` to use this I just added the following to the 'options' of the widget:
|
Thanks for this awesome module!
Is it possible to add drag and drop, use a script like this one: https://github.com/RamonSmit/Nestable
use an arrow icon as drag handler
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: