diff --git a/frontend/src/components/upload/modals/showCreateUploadModal.tsx b/frontend/src/components/upload/modals/showCreateUploadModal.tsx index d177d8c..3dce408 100644 --- a/frontend/src/components/upload/modals/showCreateUploadModal.tsx +++ b/frontend/src/components/upload/modals/showCreateUploadModal.tsx @@ -410,7 +410,7 @@ const CreateUploadModalBody = ({ {...form.getInputProps("recipients")} onKeyDown={(e: React.KeyboardEvent) => { // Add email on comma or semicolon - if (e.key === "," || e.key === ";") { + if (e.key === "Enter" || e.key === "," || e.key === ";") { e.preventDefault(); const inputValue = ( e.target as HTMLInputElement