Skip to content

Commit

Permalink
fix #931
Browse files Browse the repository at this point in the history
  • Loading branch information
uNmAnNeR committed Dec 15, 2023
1 parent 4dbc55c commit 61f2f15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/imask/src/masked/base.ts
Expand Up @@ -320,6 +320,7 @@ abstract class Masked<Value=any> {
// append lost trailing chars at the end
if (this.value && this.value !== value && value.indexOf(this.value) === 0) {
this.append(value.slice(this.displayValue.length), {}, '');
this.doCommit();
}

delete this._refreshing;
Expand Down

0 comments on commit 61f2f15

Please sign in to comment.