pull/5134/head
Cagatay Civici 2024-01-23 17:20:02 +03:00
commit bbc64e7573
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ export default {
this._decimal.lastIndex = 0; this._decimal.lastIndex = 0;
return decimalCharIndex > 0 ? value.slice(0, start) + this.formatValue(text) + value.slice(end) : value || this.formatValue(text); return decimalCharIndex > 0 ? value.slice(0, start) + this.formatValue(text) + value.slice(end) : this.formatValue(text) || value;
} else if (end - start === value.length) { } else if (end - start === value.length) {
return this.formatValue(text); return this.formatValue(text);
} else if (start === 0) { } else if (start === 0) {