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 1f9b1e6 commit 9cf08f1Copy full SHA for 9cf08f1
src/components/LibInput/LibInput.vue
@@ -314,6 +314,10 @@ const suggestionProps = computed(() => ({
314
modelValue: modelValue.value,
315
inputValue: inputValue.value,
316
canOpen: canOpen.value,
317
+ onSubmit: (e: T) => {
318
+ canOpen.value = false
319
+ emits("submit", e)
320
+ },
321
// eslint-disable-next-line @typescript-eslint/naming-convention
322
"onUpdate:isOpen": (e: boolean) => { isOpen.value = e },
323
"onUpdate:isValid": updateIsValid,
0 commit comments