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

refs-inside-v-for not working #5553

Closed
sunny-repo88 opened this issue Mar 9, 2022 · 1 comment
Closed

refs-inside-v-for not working #5553

sunny-repo88 opened this issue Mar 9, 2022 · 1 comment

Comments

@sunny-repo88
Copy link

Version

3.2.31

Reproduction link

github.com

Steps to reproduce

  1. git clone https://github.com/sunny-repo88/vue3-refs-inside-v-for-bug.git
  2. npm install
  3. npm run dev

What is expected?

should alert 1,2,3

detect the li element same as playground example in https://vuejs.org/guide/essentials/template-refs.html#refs-inside-v-for

What is actually happening?

alert empty string. cannot detect li element using refs

@LinusBorg
Copy link
Member

Duplicate of #5525

@LinusBorg LinusBorg marked this as a duplicate of #5525 Mar 9, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants