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

"Undefined" as text if v-for array is empty #6809

Closed
exodusanto opened this issue Oct 13, 2017 · 1 comment
Closed

"Undefined" as text if v-for array is empty #6809

exodusanto opened this issue Oct 13, 2017 · 1 comment

Comments

@exodusanto
Copy link

exodusanto commented Oct 13, 2017

Version

2.5.0

Reproduction link

https://jsfiddle.net/L6y9sb0s/3/

Steps to reproduce

If I use v-for and the array is empty and element have a sibling or basic text, the result of v-for is "undefined"

What is expected?

Nothing

What is actually happening?

undefined as text

@posva
Copy link
Member

posva commented Oct 13, 2017

dup of #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

2 participants