We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I noticed that some options are overrided after you spread the "options" object
el.livewire_sortable = window.Sortable.create(el, { ...options, draggable: '[wire\\:sortable-group\\.item]', handle: el.querySelector('[wire\\:sortable-group\\.handle]') ? '[wire\\:sortable-group\\.handle]' : null, sort: true, dataIdAttr: 'wire:sortable-group.item', group: { name: el.closest('[wire\\:sortable-group]').getAttribute('wire:sortable-group'), pull: true, put: true, }, .... }
Options like "sort" and "group.pull", "group.put" are set After the spread operator on options and overrides the ones you set in your blade
GC
The text was updated successfully, but these errors were encountered:
Fixed #23 / v0.2.1.
Sorry, something went wrong.
The "sort" option is still overidden. This prevents us from setting up grouped lists that are unsortable but items can cloned from one another.
@boothy060590 This has been fixed in v0.3.2 (and v0.2.2)
No branches or pull requests
I noticed that some options are overrided after you spread the "options" object
Options like "sort" and "group.pull", "group.put" are set After the spread operator on options and overrides the ones you set in your blade
GC
The text was updated successfully, but these errors were encountered: