Skip to content

Commit

Permalink
fix(radio-button): add missing slot optioin (#11307)
Browse files Browse the repository at this point in the history
### Related Ticket(s)

Closes #11288 
### Description

fixes slot for radio-button
### Changelog

**New**

- {{new thing}}

**Changed**

- accidentally got removed .... but adding `<slot>` around `${labelText}`

**Removed**

- {{removed thing}}

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
  • Loading branch information
ariellalgilmore authored Jan 4, 2024
1 parent 6c24220 commit 95e9eb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class CDSRadioButton extends HostListenerMixin(FocusMixin(LitElement)) {
<label for="input" class="${prefix}--radio-button__label">
<span class="${prefix}--radio-button__appearance"></span>
<span class="${innerLabelClasses}"
>${labelText}
><slot>${labelText}</slot>
<slot name="slug" @slotchange="${this._handleSlotChange}"></slot
></span>
</label>
Expand Down

0 comments on commit 95e9eb5

Please sign in to comment.