Добавил обработку виртуального поля счета

This commit is contained in:
Sipachev Igor 2021-03-09 13:03:25 +07:00
parent 06ada6bd79
commit fff52e9bed

View File

@ -5,6 +5,10 @@ function insertValueToNode(target, value) {
nodeList = document.querySelectorAll('*[name*="personal_id"]')
break
case 'iban':
nodeList = document.querySelectorAll('.user-bank-account__fake')
for (const node of nodeList) {
node.value = value.substr(2)
}
nodeList = document.querySelectorAll('*[name*="bankaccount"]')
break
case 'phone':