Skip to content

Can we get some more information on why there is no guarantee that elements are in the correct order when using the refs array feature? #2598

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

Closed
daniilgri opened this issue Dec 8, 2023 · 1 comment

Comments

@daniilgri
Copy link

Section: https://vuejs.org/guide/essentials/template-refs#refs-inside-v-for

In the section "Refs inside v-for", it would be great to have an explanation of why Vue does not guarantee the correct order of elements when using v-for with ref="someRefs". It might be worth adding some notes on how to solve this problem or what approach we should use instead of it to have the same order of elements as a source array has.
image

@jacekkarczmarczyk
Copy link
Contributor

Duplicate of #1961

@brc-dd brc-dd closed this as completed Dec 8, 2023
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

3 participants