mirror of https://github.com/ElemeFE/element
Select: input regain focus when multiple&filterable
parent
1c6c0cda45
commit
8fc55e30e6
|
@ -515,8 +515,8 @@
|
||||||
if (option.created) {
|
if (option.created) {
|
||||||
this.query = '';
|
this.query = '';
|
||||||
this.inputLength = 20;
|
this.inputLength = 20;
|
||||||
this.$refs.input.focus();
|
|
||||||
}
|
}
|
||||||
|
if (this.filterable) this.$refs.input.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue