Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

Mask does not alternate back after deleting digit

Open 3m0 opened this issue 11 years ago • 0 comments

I currently have this mask configured:

$('#phone').inputmask({mask:['(99) 9999-9999', '(99) 9-9999-9999'], removeMaskOnSubmit:false, clearmaskonlostfocus:true});

If I type any number with 10 digits, it works fine, and so does with 11 digits. However, if I type 11 digits and delete any digit, the mask does not alternate back.

Here's a jsfiddle: https://jsfiddle.net/6usy0chs/

3m0 avatar May 05 '15 14:05 3m0