Skip to content

Commit

Permalink
a-radio-group supports custom radios
Browse files Browse the repository at this point in the history
  • Loading branch information
kakenbok committed Nov 23, 2024
1 parent d8268b6 commit ddce342
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/ARadioGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
v-bind="$attrs"
@change="$emit('input', $event)"
>
<template v-for="option in options_">
<slot v-if="$slots.default" />

<template v-else>
<v-radio
v-for="option in options_"
:key="option.itemText"
:value="option.itemValue"
>
Expand Down

0 comments on commit ddce342

Please sign in to comment.