assisrafael/angular-input-masks

[cep] Validation is not working

Open

#173 opened on Apr 4, 2016

 (6 comments) (1 reaction) (0 assignees)JavaScript (330 forks)batch import
help wantedneeds: work

Repository metrics

Stars
 (956 stars)
PR merge metrics
 (No merged PRs in 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.

Contributor guide