From 401b46bad8176ff95e60cfc096151fb39c58bcd0 Mon Sep 17 00:00:00 2001 From: Burton Smith Date: Fri, 29 Jul 2022 12:20:00 -0400 Subject: [PATCH] update label --- src/components/radio-group/radio-group.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/radio-group/radio-group.ts b/src/components/radio-group/radio-group.ts index 272e03a2b..4f9cf05ba 100644 --- a/src/components/radio-group/radio-group.ts +++ b/src/components/radio-group/radio-group.ts @@ -30,12 +30,6 @@ const RADIO_CHILDREN = ['sl-radio', 'sl-radio-button']; export default class SlRadioGroup extends LitElement { static styles: CSSResultGroup = styles; - protected readonly formSubmitController = new FormSubmitController(this, { - value: (control: SlRadioGroup) => control.value, - defaultValue: () => undefined, - setValue: (control: SlRadioGroup, value: string) => (control.value = value) - }); - @query('slot:not([name])') defaultSlot: HTMLSlotElement; @query('.radio-group__validation-input') input: HTMLInputElement; @@ -49,7 +43,7 @@ export default class SlRadioGroup extends LitElement { /** The selected value of the control. */ @property({ reflect: true }) value = ''; - /** The selected value of the control. */ + /** The name assigned to the radio controls. */ @property() name = 'option'; /** Shows the fieldset and legend that surrounds the radio group. */