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.

Unmasked input value

See original GitHub issue

Does there any ways to get unmasked input value? For example, with mask +7 (999) 999-99-99 in onChange event value of event.target.value variable is +7 (111) 123-12-12. Could I get just 1111231212?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

178reactions
istarkovcommented, Mar 8, 2016

Are you a programmer? This can be done in just one line of your code.

41reactions
istarkovcommented, Mar 8, 2016

😃 IMHO in reality 99% users of this library need masked result, other 1% could write simple transform. Otherwise just this simple step needs internally additional property or other component interface changes. As a result you will get a new jquery ui, as other user will ask this component to support combobox suggestions, etc. The idea is to be small and simple as possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get the correct value when a masked input is edited ...
The problem is, when the masked text box is shown and I edit the value, it should update the value in the unmasked...
Read more >
JavaScript Events Unmasked: How to Create an Input Mask ...
The Unmask Function. This function is simpler. It prepares the value to be masked again. It implies replacing every non-digit character to “”...
Read more >
How to display unmasked value for each mask value entered?
I have a jQuery plugin for the web form. I have the masking done. When a user enters a number value in the...
Read more >
Mask and Unmask the input field - MSDN - Microsoft
I want to mask the number if user enter it 1234 then it should display it as *234 . After masking , I...
Read more >
Vue Input Facade - GitHub Pages
You have access to the unmasked value via the input event. The unmaskedValue property can be found as part of the target property...
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