Skip to content

Commit

Permalink
fix(VRadio): change icon color when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Aug 9, 2022
1 parent 322b670 commit 0cc43e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VInput/VInput.sass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VRadioGroup/VRadio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default baseMixins.extend<options>().extend({
}
},
computedColor (): string | undefined {
if (this.isDisabled) return undefined
return Selectable.options.computed.computedColor.call(this)
},
computedIcon (): string {
Expand Down

0 comments on commit 0cc43e2

Please sign in to comment.