handle v-model on password input field on ie9 (fix #5250) (#5253)

This commit is contained in:
katashin 2017-03-23 13:00:44 +09:00 committed by Evan You
parent 23a058ed13
commit 70db229a49

View File

@ -28,7 +28,7 @@ export default {
if (isIE || isEdge) {
setTimeout(cb, 0)
}
} else if (vnode.tag === 'textarea' || el.type === 'text') {
} else if (vnode.tag === 'textarea' || el.type === 'text' || el.type === 'password') {
el._vModifiers = binding.modifiers
if (!binding.modifiers.lazy) {
if (!isAndroid) {