Skip to content

Commit

Permalink
Merge pull request #5058 from nextcloud-libraries/fix/noid/checkbox-d…
Browse files Browse the repository at this point in the history
…efault-slot
  • Loading branch information
skjnldsv authored Jan 12, 2024
2 parents b85d4ce + 24abb3a commit 6043fd7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,10 @@ export default {
<slot name="icon" />
</template>

<!-- @slot The checkbox/radio label -->
<slot />
<template v-if="!!$slots.default" #default>
<!-- @slot The checkbox/radio label -->
<slot />
</template>
</NcCheckboxContent>
</component>
</template>
Expand Down

0 comments on commit 6043fd7

Please sign in to comment.