Highlighting matched items
This commit is contained in:
parent
17a4237c09
commit
fe4190c680
@ -297,6 +297,8 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
this.onItemMatchedSearchQuery()
|
||||
|
||||
window.axios.get(url + '/common/items?search="' + this.search + '" limit:10')
|
||||
.then(response => {
|
||||
this.item_list = [];
|
||||
@ -324,6 +326,8 @@ export default {
|
||||
this.$emit('input', this.search);
|
||||
},
|
||||
|
||||
onItemMatchedSearchQuery() {},
|
||||
|
||||
onItemSelected(item) {
|
||||
const indexeditem = { ...item, index: this.currentIndex };
|
||||
|
||||
@ -573,7 +577,7 @@ export default {
|
||||
}
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user