Skip to content

Running v-for on template with an empty array inserts undefined into DOM [regression] #6808

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
Uriziel01 opened this issue Oct 13, 2017 · 3 comments

Comments

@Uriziel01
Copy link

Version

2.5.0

Reproduction link

https://jsfiddle.net/wyau52rv/

Steps to reproduce

Just run the demo

What is expected?

I should see nothing as in 2.4.x versions.

What is actually happening?

undefined in injected into DOM as a string

@posva
Copy link
Member

posva commented Oct 13, 2017

Please check the closed issues before opening new ones
dup of #6804

@posva posva closed this as completed Oct 13, 2017
@vinigfer
Copy link

Also facing this issue. I've been using vue from https://unpkg.com/vue (local dev environment), but on production we use a minified version, which is 2.4.0.
On that version this issue doesn't happen.

@Lorempn2
Copy link

Facing the same issue. How to fix?

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

4 participants