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

Not auto formatting while entering data. #380

Closed
wcomartin opened this issue Feb 25, 2016 · 2 comments
Closed

Not auto formatting while entering data. #380

wcomartin opened this issue Feb 25, 2016 · 2 comments

Comments

@wcomartin
Copy link

Example in plnkr https://plnkr.co/edit/UIoh1yhuSBfAIP2WfNlb?p=preview

Expected behaviour

I expect that while you type a north american number (ex. 8005550932) it would auto format the number to (800) 555-0932

Actual behaviour

no formatting is applied

Initialisation options

$.fn.intlTelInput.loadUtils("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/8.4.3/js/utils.js");

$("#phone").intlTelInput({
  preferredCountries: ['us', 'ca', 'mx'],
  initialCountry: 'ca'
});
@wcomartin
Copy link
Author

It looks like the Demos are not formatting either, is this intentional?

@jackocnr
Copy link
Owner

Unfortunately the autoFormat feature (format-as-you-type) was removed in v8.0.0 - read more here: #346.

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