Skip to content

Commit 8d9cecb

Browse files
authored
fix(QInput): update internal value if using mask and external value is changed from the cached one quasarframework#12638 (quasarframework#12723)
quasarframework#12638
1 parent 4d546dc commit 8d9cecb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/src/components/input/QInput.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ export default Vue.extend({
4646
if (this.hasMask === true) {
4747
if (this.stopValueWatcher === true) {
4848
this.stopValueWatcher = false
49-
return
49+
50+
if (String(v) === this.emitCachedValue) {
51+
return
52+
}
5053
}
5154

5255
this.__updateMaskValue(v)

0 commit comments

Comments
 (0)