Skip to content

Primevue Button with label slot #8230

@sschalm

Description

@sschalm

primefaces/discussions/4415

Would it also be conceivable to provide a slot for the label in the normal button?
We have our own Vue component called "I18nLabel", which renders depending on the language and can even open the language editor as a dialog. I would now like to add this component to the button using the label slot and not rebuild the entire button using the default slot. 🙏
api.button.slots

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions