Hacker News new | past | comments | ask | show | jobs | submit login

A couple of issues in Chrome (stable): I can't type in or move the cursor between sub-fields on the phone controls.

Where does your country-state data comes from? I've never seen a list so complete for countries outside the US!




The issues with the phone controls will be fixed. https://github.com/vlamanna/BootstrapFormHelpers/issues/2

As for the data, I've worked hard to build this and I will also soon release it in other languages.


Btw if you're interested in a complementing piece of code, I have a small library [1] would give you the country for a given phone number (e164), so it could be used to prefill a default country value. It's not returning ISO code but I was planning on adding such feature.

[1]: https://github.com/pdeschen/e164.js




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: