assisrafael/angular-input-masks

[cep] Validation is not working

Open

#173 aberto em 4 de abr. de 2016

Ver no GitHub
 (6 comments) (1 reaction) (0 assignees)JavaScript (334 forks)batch import
help wantedneeds: work

Métricas do repositório

Stars
 (970 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador