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

Mask with phone number prefix #757

Open
maximedotair opened this issue Sep 24, 2020 · 0 comments
Open

Mask with phone number prefix #757

maximedotair opened this issue Sep 24, 2020 · 0 comments

Comments

@maximedotair
Copy link

I want to use the mask

$('.input').mask('999 9999 9999');

but with prefix in option :
if the user type "+44 999 9999 9999" the +44 is visible, if the user type "999 9999 9999" the +44 is not visible and both are acceptable.

Have you take a look into our docs?

https://igorescobar.github.io/jQuery-Mask-Plugin/

Make sure your read this before opening a new issue:

https://github.com/igorescobar/jQuery-Mask-Plugin#problems-or-questions

Device

[...]

Browser (and version)?

[...]

Functional jsfiddle exemplifying your problem:

You can use this one as exemple: http://jsfiddle.net/igorescobar/6pco4om7/

Describe de problem depth:

[...]

Is this plugin helping you out? Buy me a beer and cheers! 🍺

:bowtie: https://www.paypal.me/igorcescobar

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

1 participant