We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd547ac commit ef9f816Copy full SHA for ef9f816
packages/web-components/src/components/radio-button/radio-button.ts
@@ -381,7 +381,7 @@ class CDSRadioButton extends HostListenerMixin(FocusMixin(LitElement)) {
381
<label for="input" class="${prefix}--radio-button__label">
382
<span class="${prefix}--radio-button__appearance"></span>
383
<span class="${innerLabelClasses}">
384
- ${labelText}
+ <slot> ${labelText} </slot>
385
<slot name="ai-label" @slotchange="${this._handleSlotChange}"></slot>
386
<slot name="slug" @slotchange="${this._handleSlotChange}"></slot
387
></span>
0 commit comments