Skip to content

v-slot not used seems to exist #9452

Closed
@tcastelly

Description

@tcastelly

Version

2.6.3

Reproduction link

https://jsfiddle.net/shenron/xmykud6z/29/

Steps to reproduce

I have component and sub component. I want to pass slot from the parent to a child.
In this example I have v-modal-confirm and v-modal both can display a title thanks to a prop or with slot.

In the line 2 of my html demo, I use a title prop without slot. This slot seems to be created anyway, because the default behavior to print the title in v-modal is not called.

What is expected?

The default print of the slot in the v-modal should be visible

What is actually happening?

Nothing is printed


It works with the deprecated syntax.

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