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

Numbers only mask allows unlimited letters for field type "number" in FF and IE #625

Closed
Paveldeg opened this issue Nov 20, 2017 · 2 comments

Comments

@Paveldeg
Copy link

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

Windows 7 laptop

Browser (and version)?

FF 55 64bit or IE 11

Functional jsfiddle exemplifying your problem:

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

Describe de problem depth:

When using mask '0000' in FF for a field with type "number" letters allowed typed into the field.
Example input field:

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

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

@Paveldeg Paveldeg changed the title Numbers only mask allows unlimited characters for field type "number" in FF and IE Numbers only mask allows unlimited letters for field type "number" in FF and IE Nov 20, 2017
@igorescobar
Copy link
Owner

Please, take a look into this (was on our FAQ):
#450 (comment)

@Paveldeg
Copy link
Author

Well, your plugin works in Chrome perfectly even for input with type numeric, and partially works in FF and IE.
The only problem with IE and FF that letters can be typed, when mask is numeric - yet length limit works fine for digits.

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