Ionic 3+ CPF/CNPJ input mask



By Everton Costa

About me
As the most of us, I am a mobile developer that always is facing challenges and looking for solutions. Some times it can be solved by using plugins, some times isn't.

The problem I wanted to solve
It was needed to create an input mask to CPF/CNPJ in a login/register form on a mobile app developed using Ionic Framework.

Maybe it seems like a simple task, or maybe it could be solved using a plugin, but it couldn't. After looking for a solution I discovered that some plugins don't build in a --prod --release cli commands. So, without alternatives I had to build my own input mask to a form.


Read the full article....


Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment