Browse Source

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

fix #710
无木 4 năm trước cách đây
mục cha
commit
ee384b1fa7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>