Skip to content
Discussion options

You must be logged in to vote

@elieven

You can use directly move method from useFieldArray hook to change position index of field array item after drag end.

Working demo: https://codesandbox.io/s/rhf-dndkit-bs-forked-65dlr6?file=/src/App.tsx

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mfs9408
Comment options

@ashishsurya
Comment options

Answer selected by elieven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants