Closed fanste closed 1 year ago
A not so nice workaround is to add:
, onincomplete: function() {
this.inputmask.setValue('');
}
@fanste ,
I pushed 5.0.9-beta.7
Same behavior as before. The changes in beta.7
do not fix this issue.
Hmm, isn't this a caching issue?
No, unfortunately it isn't a caching issue. I just tried in on your jsfiddle and even reloaded the page with Strg+F5.
_-______
is shown_-______
is shown1234567
8
to the previous sequence_-______
is shown_-______-__
is shown1234567
_-______-__
is still displayed)_-______
.1234567
@fanste ,
You were right. I pushed version 5.0.9-beta.9 which should fix it. Can you have a try.
Bug is fixed with the new version. Thanks!
Tested using 5.0.9-beta.6 JSFiddle: https://jsfiddle.net/mxLs0eqj/2/
Input is configured with
If you type in
12345678
to get to the second mask and then leave the input, the input is cleared, Thats OK.But then you can't enter a value matching the first mask until backspace is pressed. The internal state only then seems to be cleared as well and the input still expectes a value matching the second (or higher) mask. A value matching the first mask is always rejected and cleared again. .