0
Good afternoon guys, I’m making a PWA app with Ionic 3 and I need to insert some masks in forms and validate the user’s CPF. I have tried various forms and libs, but have not succeeded in any. Could someone suggest me a library to do the Mask and CPF validation ?
I tried to use the br-Masker-Ionic-3 but it didn’t work either (https://github.com/amarkes/br-masker-ionic-3)
NOTE: To validate other fields I am using Validators with Angular 2 Formbuilder.
[UPDATE] Being able to make the masks with brmasker4, only importing the library into the module of the page and inserting the validation in the HTML input tag, now only remains to make the valid CPF validation
https://answall.com/questions/123741/validar-cpf-com-express%C3%A3o-regular-javascript
– Cassio Alves
in the link above has what you seek.
– Cassio Alves