Skip to content

Commit 567b870

Browse files
Umi8UmiSarah Leventhal
and
Sarah Leventhal
authored
fix(core.js): allow native handling of composition events when no mask is passed (#80)
Co-authored-by: Sarah Leventhal <sarah.leventhal@mastercard.com>
1 parent fd20542 commit 567b870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export function updateValue(el, vnode, { emit = true, force = false } = {}, even
148148
let currentValue = vnode?.data?.model?.value || el.value
149149

150150
// manipulating input value while text is being composed can lead to inputs being duplicated
151-
if (isComposing) {
151+
if (config.mask && isComposing) {
152152
return
153153
}
154154

0 commit comments

Comments
 (0)