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

Double Zero After Country Code #394

Closed
Kambaa opened this issue Mar 21, 2016 · 2 comments
Closed

Double Zero After Country Code #394

Kambaa opened this issue Mar 21, 2016 · 2 comments

Comments

@Kambaa
Copy link

Kambaa commented Mar 21, 2016

The placeholder makes the numbers not acceptible to the web service that i'm forwarding to. Is there a way to customize the placeholder text ?

Steps to reproduce

  1. Select Turkey As Country
  2. Enter phone number as placeholder
  3. Send Form

Expected behaviour

The tel number should be like this: +905012345678

Actual behaviour

If a person fills as the placeholder says, it becomes like this: +9005012345678

Initialisation options

i used utils script.

@jackocnr
Copy link
Owner

So you are leaving nationalMode as true (the default)? In which case, the placeholder is "0501 234 5678"? Then are you getting the number using getNumber? If so, I cannot reproduce the problem. If I go to the demo page and select Turkey and enter "0501 234 5678" then in Chrome Dev Tools if I run $("#mobile-number").intlTelInput("getNumber") then I get "+905012345678".

@jackocnr
Copy link
Owner

Closing due to inactivity.

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

2 participants