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

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

Projects

None yet

6 participants

@Alex-Sokolov
Alex-Sokolov commented Dec 13, 2016 edited

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
Member
defcc commented Dec 13, 2016

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

@s00d
s00d commented Dec 13, 2016

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

@yyx990803
Collaborator

@defcc I'm looking into this as well

@defcc
Member
defcc commented Dec 13, 2016

Got it :)

@yyx990803 yyx990803 was assigned by LinusBorg Dec 13, 2016
@yyx990803 yyx990803 closed this in 4cca507 Dec 13, 2016
@yyx990803
Collaborator

fix shipped in 2.1.6.

@tomByrer

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