File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,13 @@ export default {
122
122
}
123
123
// Update the v-model
124
124
this . $emit ( 'update' , value )
125
- } else if ( value !== this . $refs . input . value ) {
125
+ } else if ( this . $refs . input && value !== this . $refs . input . value ) {
126
126
// When the `localValue` hasn't changed but the actual input value
127
- // is out of sync, make sure to change it to the given one
127
+ // is out of sync, make sure to change it to the given one.
128
+ // Usually casued by browser autocomplete and how it triggers the
129
+ // change or input event, or depending on the formatter function.
130
+ // https://github.com/bootstrap-vue/bootstrap-vue/issues/2657
131
+ // https://github.com/bootstrap-vue/bootstrap-vue/issues/3498
128
132
/* istanbul ignore next: hard to test */
129
133
this . $refs . input . value = value
130
134
}
You can’t perform that action at this time.
0 commit comments