Skip to content

$refs in loops are not in sync - the sub components instances do not get updated #3204

@GianlucaGuarini

Description

@GianlucaGuarini

Vue.js version

1.0.26

Reproduction Link

http://jsfiddle.net/e2zfe3se/

Steps to reproduce

Check the above example

What is Expected?

The $ref object should be updated using the new sub components instances

What is actually happening?

The $ref object caches the old components instances and all the references to the new DOM elements created get lost

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions