Browse Source

fix(radio-button): fix RadioButton `disabled` support

fix #710
无木 3 years ago
parent
commit
ee384b1fa7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Form/src/components/RadioButtonGroup.vue

+ 1 - 1
src/components/Form/src/components/RadioButtonGroup.vue

@@ -5,7 +5,7 @@
 <template>
   <RadioGroup v-bind="attrs" v-model:value="state" button-style="solid">
     <template v-for="item in getOptions" :key="`${item.value}`">
-      <RadioButton :value="item.value">
+      <RadioButton :value="item.value" :disabled="item.disabled">
         {{ item.label }}
       </RadioButton>
     </template>