ui-mask
ui-mask copied to clipboard
Letters Deleted On Mobile
I am using a mask that looks like this: ****-****-****
On my computer, ui-mask works great.
However, on mobile, if I try to type in all letters, the field clears itself after the second character.
What I see:

Exactly the same problem here. My mask is AAA - 9999, When I write the two first letters, the input clears itself. The problem occurs just in mobile too.
A stranger thing in happening when I set
ui-options="{clearOnBlur:false}
thenI write the two letters, click in other input to lost focus, then if I focus again the input with the problem, it lets me finish writing correctly.
Haha, what a strange bug. I tried to tweak the settings too, let me know if you find anything that works.
The module is pretty great outside of this issue.
Exactly the same behaviour here. How do you guys handle this? This seems a very serious issue! I cannot put this in production, that would drive my users crazy no?
I found no solution for this issue. I just got another plugin angular-input-masks-standalone.min.js that worked for my needs.
There's something I don't understand. I'm discovering this repo but it seems to be a very large one, with 269 stars on Github. But it is not working with mobile devices which represents >50% of the web traffic. How can we be only 3 to be annoyed by this issue?
@frcol is angular-input-masks working? Because I'm having the same problem on it, and then I found that it also uses ui-masks which comes with ui-utils