Open gledsoncruz opened 8 years ago
We are using the available classes to display or hide error messages: ng-valid-cpf
and ng-invalid-cpf
.
Then use some css that could go like this:
.input-field
&.ng-invalid-cpf
&~.input-info-msg
display: block
If it helps.
Is possible to use the ng-cnpj with angular-formly? Are there some example?
Thanks so much
Como usar algo do tipo:
div ng-message="ng-cpf" >CPF inválido !
Obrigado