Removendo chamada de metodo inexistente: onChange
This commit is contained in:
parent
e5b268d538
commit
4cc007bde6
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ function formatarContaBancaria(txt) {
|
||||||
|
|
||||||
function formatarTelefone(txt) {
|
function formatarTelefone(txt) {
|
||||||
const soNumeros = `${txt}`.replace(/[^\d]/g, '')
|
const soNumeros = `${txt}`.replace(/[^\d]/g, '')
|
||||||
if (!soNumeros) onChange(soNumeros);
|
if (!soNumeros) return soNumeros;
|
||||||
|
|
||||||
let tel = '';
|
let tel = '';
|
||||||
if (soNumeros.length === 1) {
|
if (soNumeros.length === 1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue