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

Regression: render components list with v-else & v-for #4464

Closed
Alex-Sokolov opened this issue Dec 13, 2016 · 6 comments
Closed

Regression: render components list with v-else & v-for #4464

Alex-Sokolov opened this issue Dec 13, 2016 · 6 comments
Assignees

Comments

@Alex-Sokolov
Copy link
Contributor

Alex-Sokolov commented Dec 13, 2016

Vue.js version

2.1.5

Reproduction Link

https://jsfiddle.net/7jcoogfc/5/

Steps to reproduce

Nothing to do, see output.
Using v-if and v-else to show message when empty list, or list of rendered components

What is Expected?

List of 1,2,3,4 expected

What is actually happening?

undefined rendered with 0 errors

In Vue.js 2.1.4 all works!

@defcc
Copy link
Member

defcc commented Dec 13, 2016

Nested VNode not normalized. I'll try to make a patch.

@s00d
Copy link

s00d commented Dec 13, 2016

Not only components https://jsfiddle.net/7jcoogfc/6/

@yyx990803
Copy link
Member

@defcc I'm looking into this as well

@defcc
Copy link
Member

defcc commented Dec 13, 2016

Got it :)

@yyx990803
Copy link
Member

fix shipped in 2.1.6.

@tomByrer
Copy link

Patch works in demo also. (Which I assume test is derived from.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants