Skip to content

[tooltip] Show a warning if target or slot not defined #4467

Open
@tomivirkki

Description

@tomivirkki

Describe your motivation

Would be helpful to show an informative warning when someone creates a <vaadin-tooltip> with none of for, target and slot set.

For example, the following doesn't work because the tooltip is missing slot="tooltip":

<vaadin-button>
  <vaadin-tooltip text="I'm a tooltip"></vaadin-tooltip>
</vaadin-button>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions