From b50cef4800222d3919b78949c8b605e69d99e7fd Mon Sep 17 00:00:00 2001 From: donggyu-lee Date: Mon, 7 May 2018 14:56:34 +0900 Subject: [PATCH] Fix: block unnecessary input event on input tag placeholder in IE --- src/platforms/web/runtime/modules/attrs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/web/runtime/modules/attrs.js b/src/platforms/web/runtime/modules/attrs.js index 78ef28a1d0..61d004ed23 100644 --- a/src/platforms/web/runtime/modules/attrs.js +++ b/src/platforms/web/runtime/modules/attrs.js @@ -97,7 +97,7 @@ function baseSetAttr (el, key, value) { /* istanbul ignore if */ if ( isIE && !isIE9 && - el.tagName === 'TEXTAREA' && + (el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') && key === 'placeholder' && !el.__ieph ) { const blocker = e => {