assisrafael/angular-input-masks

[cep] Validation is not working

Open

#173 aperta il 4 apr 2016

Vedi su GitHub
 (6 commenti) (1 reazione) (0 assegnatari)JavaScript (334 fork)batch import
help wantedneeds: work

Metriche repository

Star
 (970 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

When trying to use cep as a number, validation does not work, because the validation is checking for value.length. We could add a toString() before checking length.

Guida contributor