Skip to content

Commit 26899b0

Browse files
dangreenberggittombeckenham
authored andcommitted
fix(e2e): clear the document file input after sending
1 parent edd5d17 commit 26899b0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

testing/e2e/src/components/ChatUI.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ export function ChatUI<
351351
if (file && text && onSendMessageWithDocument) {
352352
onSendMessageWithDocument(text, file)
353353
setInput('')
354+
e.target.value = ''
354355
}
355356
}}
356357
/>

0 commit comments

Comments
 (0)