reset query only if no slotOptions are present
This commit is contained in:
parent
bc348e7ebf
commit
f7f65c8410
1 changed files with 2 additions and 2 deletions
|
@ -614,13 +614,13 @@
|
||||||
dropVisible(open){
|
dropVisible(open){
|
||||||
this.broadcast('Drop', open ? 'on-update-popper' : 'on-destroy-popper');
|
this.broadcast('Drop', open ? 'on-update-popper' : 'on-destroy-popper');
|
||||||
},
|
},
|
||||||
selectOptions(options){
|
selectOptions(){
|
||||||
if (this.hasExpectedValue){
|
if (this.hasExpectedValue){
|
||||||
this.values = this.values.map(this.getOptionData);
|
this.values = this.values.map(this.getOptionData);
|
||||||
this.hasExpectedValue = false;
|
this.hasExpectedValue = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options && options.length === 0){
|
if (this.slotOptions && this.slotOptions.length === 0){
|
||||||
this.query = '';
|
this.query = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue