Skip to content

Commit ee73293

Browse files
committed
fix: disable auto complete for email recipients and share password
1 parent 5553607 commit ee73293

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

frontend/src/components/upload/modals/showCreateUploadModal.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,7 @@ const CreateUploadModalBody = ({
370370
placeholder={t("upload.modal.accordion.email.placeholder")}
371371
searchable
372372
creatable
373-
id="recipient_email"
374-
autoComplete="email"
373+
id="recipient-emails"
375374
type="email"
376375
getCreateLabel={(query) => `+ ${query}`}
377376
onCreate={(query) => {
@@ -426,7 +425,7 @@ const CreateUploadModalBody = ({
426425
"upload.modal.accordion.security.password.placeholder",
427426
)}
428427
label={t("upload.modal.accordion.security.password.label")}
429-
autoComplete="off"
428+
autoComplete="new-password"
430429
{...form.getInputProps("password")}
431430
/>
432431
<NumberInput

0 commit comments

Comments
 (0)