We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 854ccce commit 174e936Copy full SHA for 174e936
src/platforms/web/compiler/directives/model.js
@@ -1,5 +1,6 @@
1
/* @flow */
2
3
+import { isIE } from 'web/util/index'
4
import { addHandler, addProp, getBindingAttr } from 'compiler/helpers'
5
6
let warn
@@ -96,7 +97,7 @@ function genDefaultModel (
96
97
98
const type = el.attrsMap.type
99
const { lazy, number, trim } = modifiers || {}
- const event = lazy ? 'change' : 'input'
100
+ const event = lazy || (isIE && type === 'range') ? 'change' : 'input'
101
const needCompositionGuard = !lazy && type !== 'range'
102
const isNative = el.tag === 'input' || el.tag === 'textarea'
103
0 commit comments