Skip to content

Draggable sorting with v-repeat #323

Closed
@yemi

Description

@yemi

I'm trying to use something like http://johnny.github.io/jquery-sortable/ to sort a v-repeat list and then mutate the array to reflect the changes made in the view.

I tried to change the $index property of each child VM to their new index values but that doesn't seem to solve the problem that the actual array is still the same as before.

What is the best way to mutate a v-repeat list to reflect the list-order in the view/GUI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions