Skip to content

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

@sqal

Description

@sqal

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions