assign query to child's label
This commit is contained in:
Rijn 2017-01-09 02:03:28 -06:00
parent fae238f5b5
commit 1363abdcf9
2 changed files with 13 additions and 17 deletions

View file

@ -447,7 +447,7 @@
if (model !== '') {
this.findChild((child) => {
if (child.value === model) {
this.query = child.searchLabel;
this.query = child.label === undefined ? child.searchLabel : child.label;
}
});
}
@ -574,7 +574,7 @@
if (this.filterable) {
this.findChild((child) => {
if (child.value === value) {
this.query = child.searchLabel;
this.query = child.label === undefined ? child.searchLabel : child.label;
}
});
}