Skip to content
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

SortableJs bug on AlpineJs $store saving #2327

Open
sergetheprince opened this issue Nov 17, 2023 · 0 comments
Open

SortableJs bug on AlpineJs $store saving #2327

sergetheprince opened this issue Nov 17, 2023 · 0 comments

Comments

@sergetheprince
Copy link

Hey! I'am using AlpineJs in cooperation with the plugin and here is an issue: I have a list with and when I want to update my array $store.Names.names on Update(), Sortable Js just reset itself.

Here is codepen I made to show you. https://codepen.io/Serhii-Serhii/pen/gOqoabL

I created 2 tables to show you difference. One with Sortable, one without. You can see when I update $store, the table without updates, and a table with Sortable do not.

Please Help!

I used sortable.destroy() and then I tried to init Sortable again, but no chance(

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

No branches or pull requests

1 participant