mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-17 21:48:07 +01:00
fix(RadioGroup): rendering empty slots (#2456)
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
:ui="uiRadio"
|
||||
@change="onUpdate(option.value)"
|
||||
>
|
||||
<template #label>
|
||||
<template v-if="$slots.label" #label>
|
||||
<slot name="label" v-bind="{ option, selected: option.selected }" />
|
||||
</template>
|
||||
|
||||
<template #help>
|
||||
<template v-if="$slots.help" #help>
|
||||
<slot name="help" v-bind="{ option, selected: option.selected }" />
|
||||
</template>
|
||||
</URadio>
|
||||
|
||||
Reference in New Issue
Block a user