Skip to content

v-if with slot #9422

Closed
@decademoon

Description

@decademoon

Version

2.6.0

Reproduction link

http://jsfiddle.net/decademoon/hasupd08/8/

Steps to reproduce

Run the fiddle.

What is expected?

No error should occur.

What is actually happening?

An error occurs:

Property or method "value" is not defined on the instance but referenced during render.

Is 2.6.x supposed to be fully compatible with 2.5.x? The generated render function is different, and it looks like v-if has different priority than slot.

For reference, this fiddle shows it working in 2.5.16.

Might be related to #9391.

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