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

I don't know how to specify item-key #267

Open
nickear opened this issue Aug 2, 2024 · 1 comment
Open

I don't know how to specify item-key #267

nickear opened this issue Aug 2, 2024 · 1 comment

Comments

@nickear
Copy link

nickear commented Aug 2, 2024

draggable has an item-key property. My list is a dynamic string array, so I don't know how to specify this property. Will it cause any problems if I omit it?

@shealavington
Copy link

shealavington commented Dec 19, 2024

I had a similar problem, I have used :item-key="(item: string) => item" as I do not have an object, I also have an array of strings.

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

2 participants