Skip to content

Elements unnecessarily re-created when an above v-for changes. #5618

Closed
@gazugafan

Description

@gazugafan

Version

2.3.2

Reproduction link

https://jsfiddle.net/gazugafan/a8kverza/2/

Steps to reproduce

Change the inputs marked "Change Me", then add a row. Any inputs following the v-for rows get re-created (and lose their value), while inputs above remain as they are. This only seems to happen when the inputs and v-for element are contained in a parent component's slot.

What is expected?

All inputs remain unchanged--regardless of what happens to the sibling v-for element.

What is actually happening?

Any input elements following the v-for are re-created--resetting their value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions