Commit ee384b1fa7e387b3680e9d54cbe4a1e2f15ec750

Authored by 无木
1 parent 4fd2051b

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

fix #710
src/components/Form/src/components/RadioButtonGroup.vue
... ... @@ -5,7 +5,7 @@
5 5 <template>
6 6 <RadioGroup v-bind="attrs" v-model:value="state" button-style="solid">
7 7 <template v-for="item in getOptions" :key="`${item.value}`">
8   - <RadioButton :value="item.value">
  8 + <RadioButton :value="item.value" :disabled="item.disabled">
9 9 {{ item.label }}
10 10 </RadioButton>
11 11 </template>
... ...