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

As you type formatter #1038

Closed
gety9 opened this issue Feb 24, 2020 · 2 comments
Closed

As you type formatter #1038

gety9 opened this issue Feb 24, 2020 · 2 comments

Comments

@gety9
Copy link

gety9 commented Feb 24, 2020

Is there a option to enable formatter ?

For example on demo https://intl-tel-input.com/ mask is displayed as (201) 555-0123
but when user starts typing it goes as
2
20
201
2015

it's not UX friendly.

it should go
(2
(20
(201)
(201) 5

Is there a way to enable formatter ?
Maybe something similar to what https://www.npmjs.com/package/google-libphonenumber has.

Basically to be UX friendly you don't have to make user put "() -" they should be added automatically. Some of users will start from typing "(2" some of users will start from typing "2" for both it should result as "(2"

@jackocnr
Copy link
Owner

This question has been answered many times - please search existing issues before creating a new one.

@gety9
Copy link
Author

gety9 commented Feb 25, 2020

I did search for formatting, type, nothing fresh was coming up.

For anyone looking for same thing seems like reasons for removing autoformat are explained 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