2.1.5 breaks app - TypeError: Cannot create property 'isRootInsert' on boolean 'false' #4466

Closed
sqal opened this Issue Dec 13, 2016 · 2 comments

Projects

None yet

4 participants

@sqal
sqal commented Dec 13, 2016 edited

Vue.js version

2.1.5

Reproduction Link

working v2.1.4 - https://jsfiddle.net/7eje1znn/
not working v2.1.5 - https://jsfiddle.net/74zsdfv5/

Steps to reproduce

Just open fiddle with v2.1.5 and check the console.

What is Expected?

Well it should work without throwing exception since I don't see any breaking changes in this new release regarding render function.

What is actually happening?

It seems that Vue suddenly doesn't accept false value in array of children vnodes.. And if we change this line:

labelLeft && label

to labelLeft ? label : null

then everything works correctly. No Error.

@yyx990803 yyx990803 closed this in #4468 Dec 13, 2016
@yyx990803
Collaborator

fix shipped in 2.1.6.

@silvestreh silvestreh referenced this issue in monterail/vue-multiselect Dec 25, 2016
Closed

Uncaught TypeError with Vue 2.1.7 #179

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