Skip to content

v-for on empty array prints string "undefined" #6807

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
dmmikkel opened this issue Oct 13, 2017 · 1 comment
Closed

v-for on empty array prints string "undefined" #6807

dmmikkel opened this issue Oct 13, 2017 · 1 comment

Comments

@dmmikkel
Copy link

Version

2.5.0

Reproduction link

https://codepen.io/dmmikkel/pen/XePMKG

Steps to reproduce

Use v-for to iterate over empty array

What is expected?

Nothing to render

What is actually happening?

Renders string 'undefined'

@posva
Copy link
Member

posva commented Oct 13, 2017

dup of #6808

@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

2 participants