Skip to content

[v2.0.0-beta.5 or latest on next branch] - Failed to execute 'removeChild' on 'Node' - v-html with v-else #3360

@zigomir

Description

@zigomir

Vue.js version

v2.0.0-beta.5

Reproduction Link

http://codepen.io/zigomir/pen/mEjaXB?editors=1010

Steps to reproduce

Open dev tools and click on "Click to re-render list"
If you delete "REMOVE ME!" content inside the div OR remove v-html from v-else element, error will be removed.

What is Expected?

Maybe template parser should warn us when v-html is used on non-empty element, or we should document that it's better to use it on empty element (if this is really the case).

What is actually happening?

Throwing error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions