verbatim with no autocomplete on PIN input
This commit is contained in:
parent
f3895bf2ba
commit
30e2380b0b
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit 965e35604c584f7dcf786f04933c9b2fcf8a4ba0
|
Subproject commit 199884e6ae8f8b2c876ed361a3ba37c1f496e356
|
|
@ -120,7 +120,8 @@ export class SettingsComponent implements OnInit {
|
||||||
checkboxText.appendChild(restartText);
|
checkboxText.appendChild(restartText);
|
||||||
label.innerHTML = '<input type="checkbox" id="master-pass-restart" checked>';
|
label.innerHTML = '<input type="checkbox" id="master-pass-restart" checked>';
|
||||||
label.appendChild(checkboxText);
|
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.querySelector('#pin-val') as HTMLInputElement).placeholder = this.i18nService.t('pin');
|
||||||
div.appendChild(label);
|
div.appendChild(label);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue