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

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


None yet

6 participants

Alex-Sokolov commented Dec 13, 2016 edited

Vue.js version


Reproduction Link

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

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

s00d commented Dec 13, 2016

Not only components


@defcc I'm looking into this as well

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

fix shipped in 2.1.6.


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