Skip to content

Commit 70474bb

Browse files
authored
fix(mask): always compare external value as string for emit quasarframework#12326 (quasarframework#12351)
quasarframework#12326
1 parent c6aaf0a commit 70474bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/mixins/mask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export default {
301301
? this.__unmask(masked)
302302
: masked
303303

304-
this.value !== val && this.__emitValue(val, true)
304+
String(this.value) !== val && this.__emitValue(val, true)
305305
},
306306

307307
__moveCursorForPaste (inp, start, end) {

0 commit comments

Comments
 (0)