Skip to content
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

Iterating empty array with v-for printing "undefined" when other element is used #6806

Closed
rootpd opened this issue Oct 13, 2017 · 2 comments
Closed

Comments

@rootpd
Copy link

rootpd commented Oct 13, 2017

Version

2.5.0

Reproduction link

https://codesandbox.io/s/1v474z3rxl

Steps to reproduce

Reproduced automatically via provided codesandbox.io link. You can try to remove "div" element or fill the array with at least one element to remove "undefined".

What is expected?

Nothing should be printed.

What is actually happening?

"undefined" is printed.


This is new, 2.4 was fine.

@rootpd rootpd changed the title Iterating empty array with v-for printing "undefined" when subcomponent is used Iterating empty array with v-for printing "undefined" when other element is used Oct 13, 2017
@dimensi
Copy link

dimensi commented Oct 13, 2017

Have some problem.
https://codesandbox.io/s/yp5mjpmqk9

@posva
Copy link
Member

posva commented Oct 13, 2017

Please, check closed issues before opening new ones dup of #6804 #6801 #6798 #6797 #6793 #6790

@posva posva closed this as completed Oct 13, 2017
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

3 participants