Comments (4)
I've implemented a change on our site that simply checks for 8-11 digits. Although this probably is not a thorough solution, it should take care of these cases.
length = phone.replace(/[^0-9]+/g, "").length
if length < 8 or length > 11
return "some error"
from authy-form-helpers.
Thanks @holic I'm looking into it, to fix it
from authy-form-helpers.
@holic we have already pushed a fix, please let me know if it works as you expect
from authy-form-helpers.
@sarcilav Cheers! 👍
from authy-form-helpers.
Related Issues (15)
- Several suggested improvements HOT 3
- Require external list of country codes HOT 3
- Guam country code is 1 HOT 3
- Cannot modify .countries-input css HOT 2
- data-value not working HOT 1
- js developer version needed HOT 5
- iOS Version HOT 1
- placeholder attr not working for country code input HOT 2
- Flag CSS selectors are too broad HOT 2
- Calculates wrong position to show the countries list in Firefox version 50.1.0
- window.onload gets overwritten while using with another library
- How to add css classes to input.countries-input ?
- Disable autocomplete on input fields HOT 1
- Uncaught ReferenceError: autocomplete is not defined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authy-form-helpers.