This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
</span> -->
|
||||
<v-autocomplete
|
||||
label="lbl Widgets"
|
||||
:model="selected"
|
||||
v-on:input="$emit('input', $event)"
|
||||
v-model="selected"
|
||||
return-object
|
||||
:items="sourceresults"
|
||||
item-text="name"
|
||||
item-value="id"
|
||||
@@ -19,7 +19,7 @@
|
||||
cache-items
|
||||
hide-no-data
|
||||
>
|
||||
<!-- <template v-slot:no-data>no-filter hide-selected return-object
|
||||
<!-- <template v-slot:no-data>no-filter hide-selected v-on:input="$emit('input', $event)"
|
||||
<v-list-item>
|
||||
<v-list-item-title>
|
||||
Search for your favorite
|
||||
@@ -126,10 +126,13 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("watch::searchEntry,val=", val);
|
||||
//console.log("watch::searchEntry,val=", val);
|
||||
if (vm.selected != null) {
|
||||
console.log("vm.selected=", vm.selected);
|
||||
debugger;
|
||||
if (val == vm.selected.name) {
|
||||
return;
|
||||
}
|
||||
//console.log("vm.selected=", vm.selected);
|
||||
//debugger;
|
||||
}
|
||||
vm.searchUnderway = true;
|
||||
|
||||
@@ -146,7 +149,7 @@ export default {
|
||||
.get("PickList/List" + urlParams)
|
||||
.then(res => {
|
||||
if (res.error) {
|
||||
// throw res.error;
|
||||
throw res.error;
|
||||
}
|
||||
//adding this to the property will automatically have it cached by the autocomplete component
|
||||
//as cache-items has been set so this just needs to be set here once and all is well in future
|
||||
|
||||
Reference in New Issue
Block a user