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 2bd65b6 commit f857a70Copy full SHA for f857a70
src/components/radio/radio.ts
@@ -189,6 +189,8 @@ export default class IgcRadioComponent extends FormAssociatedCheckboxRequiredMix
189
190
protected override createRenderRoot() {
191
const root = super.createRenderRoot();
192
+ this.hideLabel = isEmpty(this.label);
193
+
194
root.addEventListener('slotchange', () => {
195
this.hideLabel = isEmpty(this.label);
196
});
0 commit comments