Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'charAt' of undefined at Plugin._getDialCode #714

Closed
bvshivaji opened this issue Mar 20, 2018 · 3 comments
Closed

Cannot read property 'charAt' of undefined at Plugin._getDialCode #714

bvshivaji opened this issue Mar 20, 2018 · 3 comments

Comments

@bvshivaji
Copy link

IMPORTANT: please note that the autoFormat feature (format-as-you-type) was removed in v8.0.0 - read more here: #346. Please do not open any new issues about this topic.

IMPORTANT: we use libphonenumber for formatting and validation - if your issue relates to one of these things, please check their test site first and if you see the problem there please file an issue with them instead: https://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html

Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what actually happens

Initialisation options

List any options you're using e.g. utilsScript or preferredCountries

@jackocnr
Copy link
Owner

There is no way I can help you with this if you don't fill in the issue template.

@bvshivaji
Copy link
Author

bvshivaji commented Mar 21, 2018 via email

@ferrysoto
Copy link

ferrysoto commented Jun 24, 2020

You may have included the input in a form. It happened to me and when I erased the

tag I had a resolution.

My html:
<input type="tel" id="notificationPhone" name="notification-phone" required>
<button type="button" class="btn btn-active" onclick="validateNum()"></button>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants