Преглед на файлове

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

fix #710
无木 преди 4 години
родител
ревизия
ee384b1fa7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>