Skip to content

feat: checkbox, radio, range, toggle expose label shadow part #28300

Description

@muuvmuuv

Prerequisites

Describe the Feature Request

As for all other input elements like ion-select and ion-input, ion-range should also get the new implementation of labels with a part attribute attached for styling and customizations.

image

Describe the Use Case

I am building a consistent styling for all input elements in our app where the label is outside the input box, but the input box has a shadow and other styling. This works for all other elements pretty well, thanks for the work in that.

image

Describe Preferred Solution

Slots

Describe Alternatives

No shadow-dom

Related Code

No response

Additional Information

I remember that there have been a lot of label issues opened, but couldn't find one related to slots and ion-range.

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