diff --git a/ui/src/components/input/use-mask.js b/ui/src/components/input/use-mask.js index a2bc2f3848c..4d0f37e71f0 100644 --- a/ui/src/components/input/use-mask.js +++ b/ui/src/components/input/use-mask.js @@ -497,7 +497,7 @@ export default function (props, emit, emitValue, inputRef) { if (typeof maskDef === 'string') { output += maskDef - valChar === maskDef && valIndex++ + valChar === maskDef && isNaN(Number(valChar)) && valIndex++ } else if (valChar !== void 0 && maskDef.regex.test(valChar)) { output += maskDef.transform !== void 0