Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Melhorar a função format #14

Open
fernando-azevedo opened this issue Jan 4, 2023 · 6 comments
Open

Melhorar a função format #14

fernando-azevedo opened this issue Jan 4, 2023 · 6 comments

Comments

@fernando-azevedo
Copy link

Atualmente a função format só faz a formatação se o CPF tem 11 dígitos. Seria interessante que ela fizesse a formatação pra qualquer quantidade de dígitos, aí ela poderia ser usada durante a digitação de campos. Posso abrir um Pull Request pra fazer essa modificação.

@theuves
Copy link
Owner

theuves commented Jan 4, 2023

Ah, verdade! Isso é ótimo. Uma vez precisei fazer algo assim também.

Se conseguir enviar um PR vai ajudar muito!

@ghost
Copy link

ghost commented Jan 4, 2023

To usando a minha conta pessoal aqui...Fiz o PR, mas não executei o teste que já existe. Como que posso executá-lo?

@theuves
Copy link
Owner

theuves commented Jan 4, 2023

Show! Vou verificar tbm.

Para rodar os testes pode ser:

npm run test

Ou

yarn test

@ghost
Copy link

ghost commented Jan 4, 2023

Tava faltando instalar o jasmine aqui...Teste tá passando legal.

@theuves
Copy link
Owner

theuves commented Jan 5, 2023

Analisando até amanhã faço o merge.

@fernando-azevedo
Copy link
Author

Blz, depois se puder fazer o release da nova versão eu agradeço

Repository owner deleted a comment from cyny39 Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@theuves @fernando-azevedo and others