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

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
zigomir opened this issue Jul 31, 2016 · 0 comments

Comments

@zigomir
Copy link
Contributor

zigomir commented Jul 31, 2016

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.

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

2 participants