assisrafael / assisrafael/angular-input-masks

[cep] Validation is not working

Open
#173 6 comments 1 reaction 0 assignees View on GitHub
help wanted needs: work
Dominant language
JavaScript
Stars
955
Forks
329
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`.
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32589684-cep-validation-is-not-working?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.