Skip to content

Commit d82043c

Browse files
committed
fix(InputControl): include event handlers in controlAttrs for renderless mode
1 parent 5461777 commit d82043c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/0/src/components/Input/InputControl.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
'data-focused': isFocused ? true : undefined,
9696
'data-disabled': disabled ? true : undefined,
9797
'data-readonly': readonly ? true : undefined,
98+
'onInput': onInput,
99+
'onFocus': onFocus,
100+
'onBlur': onBlur,
98101
}
99102
})
100103
@@ -112,9 +115,6 @@
112115
v-bind="{ ...attrs, ...controlAttrs }"
113116
:as
114117
:renderless
115-
@blur="onBlur"
116-
@focus="onFocus"
117-
@input="onInput"
118118
>
119119
<slot v-bind="slotProps" />
120120
</Atom>

0 commit comments

Comments
 (0)