We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a95d74a commit 2c4c93cCopy full SHA for 2c4c93c
src/components/LibSimpleInput/LibSimpleInput.vue
@@ -63,6 +63,7 @@
63
v-model="modelValue"
64
v-bind="{...$attrs, class:undefined, ...ariaLabel}"
65
@keydown.enter="emits('submit', modelValue)"
66
+ @input="emits('input', $event as InputEvent)"
67
>
68
</template>
69
@@ -101,6 +102,7 @@ const modelValue = defineModel<T>({ required: true })
101
102
const emits = defineEmits<{
103
/* User presses enter.*/
104
(e: "submit", val: any): void
105
+ (e: "input", val: InputEvent): void
106
}>()
107
const $attrs = useAttrs()
108
const ariaLabel = useAriaLabel(props, fallbackId)
0 commit comments