From dd25b5a383830a5a780e6d9671b96f9659e1b147 Mon Sep 17 00:00:00 2001 From: anlyyao Date: Mon, 25 Sep 2023 10:52:16 +0800 Subject: [PATCH 1/2] fix(RadioGroup): resolved disabled invalid --- src/radio/radio.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/radio/radio.vue b/src/radio/radio.vue index 6c2bf0402..ac97ad673 100644 --- a/src/radio/radio.vue +++ b/src/radio/radio.vue @@ -66,7 +66,9 @@ export default defineComponent({ const rootGroupValue = inject('rootGroupValue', {}) as Ref; const rootGroupChange = inject('rootGroupChange', NOOP) as (val: RadioValue, e: Event) => void; - const formDisabled = useFormDisabled(); + // extend radioGroup disabled props + const groupDisabled = computed(() => rootGroupProps?.disabled); + const formDisabled = useFormDisabled(groupDisabled); const disabled = computed(() => { if (formDisabled.value == null && 'disabled' in rootGroupProps) return rootGroupProps.disabled; From d0d8a8fd92843a96a7debae0d76f43a762b0f248 Mon Sep 17 00:00:00 2001 From: anlyyao Date: Tue, 26 Sep 2023 11:39:06 +0800 Subject: [PATCH 2/2] chore: update _common --- src/_common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_common b/src/_common index ce857fc94..fbf4c99b8 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit ce857fc94ef67b3a238ff524b395966ba3127678 +Subproject commit fbf4c99b87fcfdbdfb83147a1bf96c57d1848dd2