From 8390c5b24498a9220ed5a1f2ce5db9a988def010 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 9 Sep 2021 10:37:21 +0530 Subject: [PATCH] disable autocomplete for upload alt text --- www/common/sframe-common-file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/sframe-common-file.js b/www/common/sframe-common-file.js index facd27f22..33d46caf6 100644 --- a/www/common/sframe-common-file.js +++ b/www/common/sframe-common-file.js @@ -330,7 +330,7 @@ define([ h('input#cp-upload-name', {type: 'text', placeholder: defaultFileName, value: defaultFileName}), h('label', {for: 'cp-upload-alt'}, Messages.upload_addOptionalAlt), - h('input#cp-upload-alt', {type: 'text', placeholder: Messages.upload_modal_alt}), + h('input#cp-upload-alt', {type: 'text', placeholder: Messages.upload_modal_alt, autocomplete: 'off'}), h('label', {for: 'cp-upload-password'}, Messages.addOptionalPassword), UI.passwordInput({id: 'cp-upload-password'}),