Skip to content

Commit

Permalink
fix(QInput): use number if numbers are within prefix mask quasarframe…
Browse files Browse the repository at this point in the history
  • Loading branch information
NamgyungKim committed Sep 22, 2023
1 parent e50e16b commit 400e08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/input/use-mask.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 400e08c

Please sign in to comment.