From d5cd3002a1661e58d584e12280be36f17948c38c Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Tue, 15 Oct 2024 20:47:04 +0200 Subject: [PATCH] fix: share can't be created if an invalid email is entered in mail recipients --- frontend/src/components/upload/modals/showCreateUploadModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/upload/modals/showCreateUploadModal.tsx b/frontend/src/components/upload/modals/showCreateUploadModal.tsx index 5bb7547e..25eb8733 100644 --- a/frontend/src/components/upload/modals/showCreateUploadModal.tsx +++ b/frontend/src/components/upload/modals/showCreateUploadModal.tsx @@ -371,7 +371,7 @@ const CreateUploadModalBody = ({ searchable creatable id="recipient-emails" - type="email" + inputMode="email" getCreateLabel={(query) => `+ ${query}`} onCreate={(query) => { if (!query.match(/^\S+@\S+\.\S+$/)) {