Commit ee384b1fa7e387b3680e9d54cbe4a1e2f15ec750
1 parent
4fd2051b
fix(radio-button): fix RadioButton `disabled` support
fix #710
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Form/src/components/RadioButtonGroup.vue
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | <template> | 5 | <template> |
6 | <RadioGroup v-bind="attrs" v-model:value="state" button-style="solid"> | 6 | <RadioGroup v-bind="attrs" v-model:value="state" button-style="solid"> |
7 | <template v-for="item in getOptions" :key="`${item.value}`"> | 7 | <template v-for="item in getOptions" :key="`${item.value}`"> |
8 | - <RadioButton :value="item.value"> | 8 | + <RadioButton :value="item.value" :disabled="item.disabled"> |
9 | {{ item.label }} | 9 | {{ item.label }} |
10 | </RadioButton> | 10 | </RadioButton> |
11 | </template> | 11 | </template> |