Skip to content

Commit db0441f

Browse files
committed
fix(CFormCheck): Non-function value encountered for default slot.
1 parent 27b7d6d commit db0441f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/form/CFormCheck.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ const CFormCheck = defineComponent({
130130
: 'form-check-label',
131131
...(props.id && { for: props.id }),
132132
},
133-
props.label,
133+
{
134+
default: () => props.label,
135+
},
134136
)
135137
}
136138

0 commit comments

Comments
 (0)