Skip to content

Instantly share code, notes, and snippets.

View willianfrancas's full-sized avatar
Learning something...

William F Silva willianfrancas

Learning something...
View GitHub Profile
willianfrancas /
Created October 31, 2019 20:20 — forked from odahcam/
Validação de CPF e CNPJ com integração com React Forms, implementado com Angular 6.


Uso com reactive forms

new FormGroup({
    cpfManualLength: new FormControl('', [
        Validators.minLength(14), // digits + word characters