Skip to content

Commit

Permalink
fix(radio-button): fix RadioButton disabled support
Browse files Browse the repository at this point in the history
fix #710
  • Loading branch information
mynetfan committed Jun 6, 2021
1 parent 4fd2051 commit ee384b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Form/src/components/RadioButtonGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ee384b1

Please sign in to comment.