Closed fanste closed 1 year ago
Can you retry with 5.0.9-beta.7
Same behavior as before.
@fanste ,
I tried your mask. Initial: _-__ Type: abcdefgh => a-bcdefg-h Blur: a-bcdefg-h
The mask is visually ok, but I noticed a oncomplete is triggered, which is incorrect. Is this what you mean?
I noticed, that I missed a detail in the initial posting, sorry for that.
I've edited the initial posting and added the info about clearIncomplete = true
.
So in other words:
clearIncomplete=true
)*-******[-**]
1-234567-8
(missing the last position) and blur, what is the desired outcome?
clearIncomplete
is setYou mentioned that oncomplete
is triggered which should not be the case. So i think that clear the field (=> option 1) should be the desired behavior?
@fanste ,
Version 5.0.9-beta.10 should fix the issue.
I have an mask containing optionals, like
*-******[-**]
andclearIncomplete = true
.My expectation is, that it either accepts
a-bcdefg
ora-bcdefg-hi
but NOTa-bcdefg-h
(last character missing).Is this a bug or a desired behavior? Tested using the latest version from
dist
.Edited on 2023-05-22.