From 0cc43e293c0f64e12b210a543e2c71cf084f1ebc Mon Sep 17 00:00:00 2001 From: Kael Date: Tue, 9 Aug 2022 18:56:51 +1000 Subject: [PATCH] fix(VRadio): change icon color when disabled --- packages/vuetify/src/components/VInput/VInput.sass | 2 +- packages/vuetify/src/components/VRadioGroup/VRadio.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vuetify/src/components/VInput/VInput.sass b/packages/vuetify/src/components/VInput/VInput.sass index 99498d099f7..595ea8a8fc2 100644 --- a/packages/vuetify/src/components/VInput/VInput.sass +++ b/packages/vuetify/src/components/VInput/VInput.sass @@ -100,12 +100,12 @@ &__slot align-items: center - color: inherit display: flex margin-bottom: $input-slot-margin-bottom min-height: inherit position: relative transition: $primary-transition + transition-property: height, min-height width: 100% &--dense > .v-input__control > .v-input__slot diff --git a/packages/vuetify/src/components/VRadioGroup/VRadio.ts b/packages/vuetify/src/components/VRadioGroup/VRadio.ts index 158c4a97282..5b3b005281f 100644 --- a/packages/vuetify/src/components/VRadioGroup/VRadio.ts +++ b/packages/vuetify/src/components/VRadioGroup/VRadio.ts @@ -74,6 +74,7 @@ export default baseMixins.extend().extend({ } }, computedColor (): string | undefined { + if (this.isDisabled) return undefined return Selectable.options.computed.computedColor.call(this) }, computedIcon (): string {