1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

verbatim with no autocomplete on PIN input

This commit is contained in:
Kyle Spearrin
2019-03-06 14:40:13 -05:00
parent f3895bf2ba
commit 30e2380b0b
2 changed files with 3 additions and 2 deletions

2
jslib

Submodule jslib updated: 965e35604c...199884e6ae

View File

@@ -120,7 +120,8 @@ export class SettingsComponent implements OnInit {
checkboxText.appendChild(restartText);
label.innerHTML = '<input type="checkbox" id="master-pass-restart" checked>';
label.appendChild(checkboxText);
div.innerHTML = '<input type="text" class="swal-content__input" id="pin-val">';
div.innerHTML = '<input type="text" class="swal-content__input" id="pin-val" autocomplete="off" ' +
'autocapitalize="none" autocorrect="none" spellcheck="false" inputmode="verbatim">';
(div.querySelector('#pin-val') as HTMLInputElement).placeholder = this.i18nService.t('pin');
div.appendChild(label);