Skip to content

Conversation

@dpnunez
Copy link

@dpnunez dpnunez commented Feb 8, 2022

Proposed changes

Alterar a lib utilizada para implementaçao de máscaras, com a finalidade de integrar de uma melhor forma com a lib de formulário react-hook-form

Does this close any currently open issues?

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 8, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

})
},
accept: /\d+/g
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

achei muito pica já ter algumas das máscaras mais comuns, só algumas sugestões.

  • a de currency eu tentaria deixar mais genérico, de uma forma q a gente pudesse escolher moedas diferentes de BRL.

  • adicionar uma máscara de cnpj

  • criar um helper de criação de mascaras númericas, tipo oq o createNumberMask do text-mask-addons faz (https://www.npmjs.com/package/text-mask-addons), será que isso caberia mais à nossa lib de hooks (prometheus)?

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

Successfully merging this pull request may close these issues.

4 participants