Skip to content

Commit 70db229

Browse files
ktsnyyx990803
authored andcommitted
handle v-model on password input field on ie9 (fix vuejs#5250) (vuejs#5253)
1 parent 23a058e commit 70db229

File tree

1 file changed

+1
-1
lines changed
  • src/platforms/web/runtime/directives

1 file changed

+1
-1
lines changed

src/platforms/web/runtime/directives/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
if (isIE || isEdge) {
2929
setTimeout(cb, 0)
3030
}
31-
} else if (vnode.tag === 'textarea' || el.type === 'text') {
31+
} else if (vnode.tag === 'textarea' || el.type === 'text' || el.type === 'password') {
3232
el._vModifiers = binding.modifiers
3333
if (!binding.modifiers.lazy) {
3434
if (!isAndroid) {

0 commit comments

Comments
 (0)