Исправить DEVNET topup и автоподстановку пароля

This commit is contained in:
AidarKC
2026-06-03 15:57:49 +04:00
parent 239cc231ea
commit ee3721dfa4
9 changed files with 47 additions and 5 deletions
+7
View File
@@ -21,12 +21,19 @@ export function render({ navigate }) {
const loginInput = document.createElement('input');
loginInput.className = 'input';
loginInput.type = 'text';
loginInput.autocomplete = 'off';
loginInput.autocapitalize = 'off';
loginInput.spellcheck = false;
loginInput.value = state.registrationDraft.login;
loginInput.placeholder = 'Введите логин';
const passwordInput = document.createElement('input');
passwordInput.className = 'input';
passwordInput.type = 'password';
passwordInput.name = 'shine-register-password';
passwordInput.autocomplete = 'new-password';
passwordInput.autocapitalize = 'off';
passwordInput.spellcheck = false;
passwordInput.value = state.registrationDraft.password;
passwordInput.placeholder = 'Введите пароль (можно оставить пустым)';