assisrafael / assisrafael/angular-input-masks

Validations should pass with integers

Open
#131 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
955
Forks
329
PR merge metrics
No merged PRs in 30d

Description

Being a mask, storing the phone number as an integer is a possibility, currently if number is an integer the validation fails because it only checks the length property, asuming only strings will be passed as values. I will attach a PR to this issue shortly
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27939392-validations-should-pass-with-integers?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.