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

Commit c4307d6

Browse files
Merge pull request #499 from lianulloa/fix/input-group-#292
fix: emit CInput events from inside a CInputGroup
2 parents 50e4f57 + e5a5b91 commit c4307d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const CInputGroup = {
5353
const clone = cloneVNode(vnode, h)
5454
return h(clone.componentOptions.Ctor, {
5555
...clone.data,
56-
...(clone.componentOptions.listeners || {}),
56+
on: (clone.componentOptions.listeners || {}),
5757
props: {
5858
...(clone.data.props || {}),
5959
...clone.componentOptions.propsData,

0 commit comments

Comments
 (0)