mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 03:07:36 +08:00
Select: input regain focus when multiple&filterable
This commit is contained in:
parent
1c6c0cda45
commit
8fc55e30e6
@ -515,8 +515,8 @@
|
||||
if (option.created) {
|
||||
this.query = '';
|
||||
this.inputLength = 20;
|
||||
this.$refs.input.focus();
|
||||
}
|
||||
if (this.filterable) this.$refs.input.focus();
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user