Skip to content

Commit ef9f816

Browse files
authored
fix(radio-button): add missing slot (#19948)
1 parent dd547ac commit ef9f816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web-components/src/components/radio-button/radio-button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class CDSRadioButton extends HostListenerMixin(FocusMixin(LitElement)) {
381381
<label for="input" class="${prefix}--radio-button__label">
382382
<span class="${prefix}--radio-button__appearance"></span>
383383
<span class="${innerLabelClasses}">
384-
${labelText}
384+
<slot> ${labelText} </slot>
385385
<slot name="ai-label" @slotchange="${this._handleSlotChange}"></slot>
386386
<slot name="slug" @slotchange="${this._handleSlotChange}"></slot
387387
></span>

0 commit comments

Comments
 (0)