Vue: Regression: render components list with v-else & v-for

Created on 13 Dec 2016  路  6Comments  路  Source: vuejs/vue

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!

regression

Most helpful comment

fix shipped in 2.1.6.

All 6 comments

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

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

@defcc I'm looking into this as well

Got it :)

fix shipped in 2.1.6.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robertleeplummerjr picture robertleeplummerjr  路  3Comments

franciscolourenco picture franciscolourenco  路  3Comments

Jokcy picture Jokcy  路  3Comments

loki0609 picture loki0609  路  3Comments

paceband picture paceband  路  3Comments