fix: submit pre chat triggering native submit event (#10224)

This commit is contained in:
Shivam Mishra
2024-10-04 20:31:25 +05:30
committed by GitHub
parent 8c54d7f794
commit 88a16b8e96
3 changed files with 8 additions and 6 deletions

View File

@@ -61,6 +61,6 @@ export default {
<template>
<div class="flex flex-1 overflow-auto">
<PreChatForm :options="preChatFormOptions" @submit="onSubmit" />
<PreChatForm :options="preChatFormOptions" @submit-pre-chat="onSubmit" />
</div>
</template>