Select add @on-select event
This commit is contained in:
parent
bd9c12cf88
commit
ed741b1666
1 changed files with 1 additions and 0 deletions
|
@ -693,6 +693,7 @@
|
||||||
const inputField = this.$el.querySelector('input[type="text"]');
|
const inputField = this.$el.querySelector('input[type="text"]');
|
||||||
if (!this.autoComplete) this.$nextTick(() => inputField.focus());
|
if (!this.autoComplete) this.$nextTick(() => inputField.focus());
|
||||||
}
|
}
|
||||||
|
this.$emit('on-select', option); // # 4441
|
||||||
this.broadcast('Drop', 'on-update-popper');
|
this.broadcast('Drop', 'on-update-popper');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.filterQueryChange = false;
|
this.filterQueryChange = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue