question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Per-element radixPoint overwrites defaults

See original GitHub issue

I’ve noted that if I have few numeric inputs with data-inputmask field and one of them has radixPoint set, all the others behave unexpectedly like if the default value gets screwed up. Take a look at the jsFiddle for an example.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
RobinHerbotscommented, Jan 13, 2017

@Vasiliskov ,

Fixed

0reactions
RobinHerbotscommented, Jan 6, 2017

I found the problem. In the numeric extensions I have a definition : for the radixposition. The placeholder is filled dynamically with the radixpoint symbol. But the mask caching can not distinguish between the masks. So you get the placeholders from the first mask, while the others settings are as expected.

I still need to think about a fix, but the numpad feature you said is already in place.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inputmask/CHANGELOG.md at 5.x · RobinHerbots ...
inputmask.js' does not provide an export named 'default' #2560; Issue with leapday # ... Per-element radixPoint overwrites defaults #1454 ...
Read more >
https://raw.githubusercontent.com/RobinHerbots/Inp...
Also some defaults has changed, so have a read through the changes for this ... (numericInput) #1486 - Per-element radixPoint overwrites defaults #1454 ......
Read more >
jquery-inputmask - CHANGELOG.md
... hasOwnProperty check missing in reverseTokens (numericInput) #1486; Per-element radixPoint overwrites defaults #1454; Form not cleaning ...
Read more >
inputmask | Yarn - Package Manager
... static is a reserved keyword #1479; hasOwnProperty check missing in reverseTokens (numericInput) #1486; Per-element radixPoint overwrites defaults #1454 ...
Read more >
backend/public/plugins/jquery-inputmask/CHANGELOG.md
... Per-element radixPoint overwrites defaults #1454 ... Decimal mask excluding zero with custom RadixPoint and GroupSeparator #1418 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found