Select: input regain focus when multiple&filterable

This commit is contained in:
Leopoldthecoder 2017-01-22 12:48:02 +08:00
parent 1c6c0cda45
commit 8fc55e30e6

View File

@ -515,8 +515,8 @@
if (option.created) {
this.query = '';
this.inputLength = 20;
this.$refs.input.focus();
}
if (this.filterable) this.$refs.input.focus();
}
},