We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9417e4 commit 7ca58b6Copy full SHA for 7ca58b6
src/platforms/web/runtime/directives/model.js
@@ -60,7 +60,7 @@ export default {
60
// option in the DOM.
61
const needReset = el.multiple
62
? binding.value.some(v => hasNoMatchingOption(v, el.options))
63
- : binding.value === binding.oldValue ? false : hasNoMatchingOption(binding.value, el.options)
+ : binding.value !== binding.oldValue && hasNoMatchingOption(binding.value, el.options)
64
if (needReset) {
65
trigger(el, 'change')
66
}
0 commit comments