|
|
@@ -1199,7 +1199,9 @@
|
|
|
e.keyCode = opts.keyCode.BACKSPACE;
|
|
|
keydownEvent.call(input, e);
|
|
|
} else { //nonnumerics don't fire keypress
|
|
|
+ console.log(currentValue);
|
|
|
currentValue = currentValue.replace(new RegExp("(" + escapeRegex(getActiveBufferTemplate().join('')) + ")*"), "");
|
|
|
+ console.log(currentValue);
|
|
|
checkVal(input, false, false, currentValue.split(''));
|
|
|
writeBuffer(input, getActiveBuffer());
|
|
|
if (isComplete(getActiveBuffer()) === true)
|
|
|
@@ -1382,6 +1384,11 @@
|
|
|
// as the other inputevents aren't reliable for the moment we only base on the input event
|
|
|
// needs follow-up
|
|
|
if (android || androidfirefox || androidchrome) {
|
|
|
+ $el.attr("autocomplete","off")
|
|
|
+ .attr("autocorrect","off")
|
|
|
+ .attr("autocapitalize","off")
|
|
|
+ .attr("spellcheck",false);
|
|
|
+
|
|
|
$el.unbind("keydown.inputmask", keydownEvent
|
|
|
).unbind("keypress.inputmask", keypressEvent
|
|
|
).unbind("keyup.inputmask", keyupEvent);
|