|
|
@@ -129,7 +129,10 @@ export default {
|
|
|
},
|
|
|
|
|
|
update (value) {
|
|
|
- this.el.value = _toString(value)
|
|
|
+ // #3029 only update when the value changes. This prevent
|
|
|
+ // browsers from overwriting values like selectionStart
|
|
|
+ value = _toString(value)
|
|
|
+ if (value !== this.el.value) this.el.value = value
|
|
|
},
|
|
|
|
|
|
unbind () {
|