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.

Phone input mask duplicates each character on Samsung Android tablet

See original GitHub issue

Similar to #705. With this input mask:

$( "#checkout-addr-phone" ).inputmask( "(999) 999-9999" );

. . . every digit entered is duplicated. E.g. if I enter “608555…” I get “(660)088555555”. This is with the newest version of inputmask.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ligaduscommented, Nov 13, 2018

Hello, @RobinHerbots I have same problem with email.

Do you have some tip? V- 4.0.3 - 2018-11-07

    $(".mascara_email_").inputmask({
      mask: "*{1,20}[.*{1,20}][.*{1,20}][.*{1,20}]@*{1,20}[.*{2,6}][.*{1,2}]",
      greedy: false,
      placeholder: "",

      onBeforePaste: function (pastedValue, opts) {
        pastedValue = pastedValue.toLowerCase();
        return pastedValue.replace("mailto:", "");
      },
      definitions: {
        '*': {
          validator: "[0-9A-Za-z!#$%&'*+/=?^_`{|}~\-]",
          casing: "lower"
        }
      }
    });
0reactions
knoxcardcommented, Aug 3, 2019

@ligadus - Try this…

HTML

<input type="password" class="mascara_email_" name="mascara_email" autocomplete="email" />

JS

$('.mascara_email_').inputmask({
   alias: 'email'
})
$('.mascara_email_').attr('type', 'text")

What are the results?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duplication of text phrases using voice to text (N...
Solved: I have a brand new Galaxy S20 FE, and when I use voice to text ... it duplicates almost every it duplicates...
Read more >
inputmask | Yarn - Package Manager
An inputmask helps the user with the input by ensuring a predefined format. This can be useful for dates, numerics, phone numbers, ......
Read more >
Easy JavaScript/jQuery Input Mask Plugin - inputmask
jQuery Input Mask is a lightweight and easy-to-use jQuery plugin that ... input mask duplicates each character on Samsung Android tablet ...
Read more >
[Android Devices] Field Input Mask breaks mobile functionality
I created a very simple form for a website project which includes a Phone Number field. When I apply an imput mask of...
Read more >
CHANGELOG.md · 5.x · Libraries / jquery-inputmask · GitLab
currency alias: add character substitution for the radixpoint ... Phone input mask duplicates each character on Samsung Android tablet #834 ...
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