Skip to content

Commit 90447c8

Browse files
committed
Fixed Vue's warning about non-function value for default slot
1 parent d91578c commit 90447c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/coreui-vue/src/components/form/CFormControlWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const CFormControlWrapper = defineComponent({
4343
setup(props, { slots }) {
4444
return () =>
4545
props.floatingLabel
46-
? h(CFormFloating, [
46+
? h(CFormFloating, () => [
4747
slots.default && slots.default(),
4848
h(
4949
CFormLabel,

0 commit comments

Comments
 (0)