Commit b9e3e7fa authored by Semen Levenson's avatar Semen Levenson Committed by 杨奕

Option: Fix #3728 bug

Select component with remote search clears what you typed when the value for each el-option is an object
parent 394bc47a
...@@ -84,10 +84,10 @@ ...@@ -84,10 +84,10 @@
watch: { watch: {
currentLabel() { currentLabel() {
if (!this.created) this.dispatch('ElSelect', 'setSelected'); if (!this.created && !this.parent.remote) this.dispatch('ElSelect', 'setSelected');
}, },
value() { value() {
if (!this.created) this.dispatch('ElSelect', 'setSelected'); if (!this.created && !this.parent.remote) this.dispatch('ElSelect', 'setSelected');
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment