Skip to content

[dialog] Refactor DialogHeader and DialogFooter to use slots instead of renderers #9384

@web-padawan

Description

@web-padawan

Describe your motivation

We added support for vaadin-dialog header and footer slots in vaadin/web-components#10624.
This should be relatively easy to integrate in the Flow component so IMO we should do it.

Describe the solution you'd like

Update DialogHeaderFooter to not use headerRenderer / footerRenderer function, remove all the logic related to renderer state and instead add elements to the vaadin-dialog-content slotted element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions