Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 7c725ff

Browse files
committed
fix: emit CInput events from inside a CInputGroup
1 parent cf67d4b commit 7c725ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/chakra-ui-core/src/CInputGroup/CInputGroup.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ const CInputGroup = {
5353
const clone = cloneVNode(vnode, h)
5454
return h(clone.componentOptions.Ctor, {
5555
...clone.data,
56-
...(clone.componentOptions.listeners || {}),
56+
on: {
57+
...(clone.componentOptions.listeners || {})
58+
},
5759
props: {
5860
...(clone.data.props || {}),
5961
...clone.componentOptions.propsData,

0 commit comments

Comments
 (0)