Correção no acesso ao parametro de formatar conta bancaria
This commit is contained in:
parent
dd8a517eb6
commit
4fa137915f
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function formatarCpfCnpj(txt) {
|
|||
|
||||
// Entrada: 12345 Saída: 1234-5
|
||||
function formatarContaBancaria(txt) {
|
||||
const soNumeros = e.target.value.replace(/[^\d]/g, '')
|
||||
const soNumeros = `${txt}`.replace(/[^\d]/g, '')
|
||||
if (!soNumeros) return soNumeros;
|
||||
|
||||
let conta = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue