Skip to content

Commit fe0bd83

Browse files
committedMar 20, 2025·
fix(RadioGroup): handle disabled on items
Resolves nuxt/ui-pro#911
1 parent 8a26de2 commit fe0bd83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/runtime/components/RadioGroup.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ function onUpdate(value: any) {
161161
<RadioGroupItem
162162
:id="item.id"
163163
:value="item.value"
164-
:disabled="disabled"
165-
:class="ui.base({ class: props.ui?.base })"
164+
:disabled="item.disabled"
165+
:class="ui.base({ class: props.ui?.base, disabled: item.disabled })"
166166
>
167167
<RadioGroupIndicator :class="ui.indicator({ class: props.ui?.indicator })" />
168168
</RadioGroupItem>

0 commit comments

Comments
 (0)
Please sign in to comment.