Skip to content

field value get messed when use with sortable.js #2002

@adajoy

Description

@adajoy

Describe the bug

field value get messed when use with sortable.js

Your minimal, reproducible example

https://codesandbox.io/p/devbox/tg34w3

Steps to reproduce

click add and input 2 different values in the input element then drag the handler to reorder, you will see the rendered input value is not swapping while the field.state.value is updated correctly

Expected behavior

the input value is correctly displayed

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

not related

TanStack Form adapter

None

TanStack Form version

"@tanstack/vue-form": "1.27.7",     "sortablejs": "1.15.6",     "vue": "^3.5.13"

TypeScript version

No response

Additional context

No response

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