Skip to content

Select: should allow for specifying a slot when the selected value is written to the summoner #5

@chrsgrrtt

Description

@chrsgrrtt

Currently, the text content of gets overwritten when a user makes a selection. This is problematic if I want to include an icon in the button too - as that gets replaced. I was able to dance around this with some CSS, but it would be cleaner to be able to specify a slot for the inbound text content.

example:

<hyperkit-select-summoner ...>
  <button>
    <slot name="selection-text" />
    <icon />
  </button>
</hyperkit-select-summoner>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions