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

money mask on number input #749

Open
ivenspontes opened this issue May 19, 2020 · 1 comment
Open

money mask on number input #749

ivenspontes opened this issue May 19, 2020 · 1 comment

Comments

@ivenspontes
Copy link

Browser (and version)?

Chrome 81.0.4044.138 64 bits

Functional jsfiddle exemplifying your problem:

http://jsfiddle.net/s3ykha21/

Describe de problem depth:

When I apply the mask to an input type number, it doesn't work

error on console:

The specified value "1,11" cannot be parsed, or is out of range. 
  | (anonymous) | @ | jquery.min.js:2
-- | -- | -- | --
  | each | @ | jquery.min.js:2
  | each | @ | jquery.min.js:2
  | val | @ | jquery.min.js:2
  | val | @ | jquery.mask.min.js:9
  | behaviour | @ | jquery.mask.min.js:11
  | dispatch | @ | jquery.min.js:2
  | v.handle | @ | jquery.min.js:2


@gabrielpcruz
Copy link

Try change te type of inputs for "text" instead "number".

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