bhrott / react-native-masked-text

A pure javascript masked text and input text component for React-Native.
MIT License
1.61k stars 249 forks source link

[Request] CPF and CNPJ toghether on validate and mask #238

Closed selique closed 3 years ago

guilhermemoretto12 commented 3 years ago

It would be nice if there was a mask with CPF and CNPJ formats together, depending on how many characters were typed, something like the Cel Phone mask detecting automatically if 8 or 9 digits were typed after the DDD.