DiegoSestito / ngx-cpf-cnpj

This is a simple library, containing a mask and a validator for CPF/CNPJ in the same input.
Other
6 stars 2 forks source link

Error applying mask #2

Closed nncl closed 4 years ago

nncl commented 5 years ago

Hi.

When I type this following CNPJ 25405022000162 the mask shows 2.540.502/2000-162 instead of 25.405.022/0001-62.

I've tested with others and the same is happening. It doesn't happens if I copy it correctly and paste on the input.

mrmgomes commented 5 years ago

Indeed the mask is wrong. Is this going to be fixed ?

DiegoSestito commented 5 years ago

Yes, I'll fix this problem later this week.

laioviana commented 5 years ago

Having the same error here.

DiegoSestito commented 4 years ago

This issue has been corrected in version 1.0.4