Skip to content

Conversation

@jtotty
Copy link

@jtotty jtotty commented Oct 17, 2023

Fix for #14.

To use the Multidrag plugin, it has to be mounted before any of the Sortable objects are instantiated. However, we don't want to mount it if it won't be used. Added a new custom directive to trigger the mount and enable the multiDrag option.

The sortable multidrag functionality does not work unless mounted.

Developers must add the `wire:sortable-multidrag` attribute on their chosen element before any other sortable livewire directives to enable the plugin.
@gdebrauwer
Copy link
Contributor

Thanks for the PR, but I'm looking at adding support for all plugins in a separate PR #38

@gdebrauwer gdebrauwer closed this Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants