This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
</span> -->
|
</span> -->
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
label="lbl Widgets"
|
label="lbl Widgets"
|
||||||
:model="selected"
|
v-model="selected"
|
||||||
v-on:input="$emit('input', $event)"
|
return-object
|
||||||
:items="sourceresults"
|
:items="sourceresults"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
cache-items
|
cache-items
|
||||||
hide-no-data
|
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>
|
||||||
<v-list-item-title>
|
<v-list-item-title>
|
||||||
Search for your favorite
|
Search for your favorite
|
||||||
@@ -126,10 +126,13 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("watch::searchEntry,val=", val);
|
//console.log("watch::searchEntry,val=", val);
|
||||||
if (vm.selected != null) {
|
if (vm.selected != null) {
|
||||||
console.log("vm.selected=", vm.selected);
|
if (val == vm.selected.name) {
|
||||||
debugger;
|
return;
|
||||||
|
}
|
||||||
|
//console.log("vm.selected=", vm.selected);
|
||||||
|
//debugger;
|
||||||
}
|
}
|
||||||
vm.searchUnderway = true;
|
vm.searchUnderway = true;
|
||||||
|
|
||||||
@@ -146,7 +149,7 @@ export default {
|
|||||||
.get("PickList/List" + urlParams)
|
.get("PickList/List" + urlParams)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.error) {
|
if (res.error) {
|
||||||
// throw res.error;
|
throw res.error;
|
||||||
}
|
}
|
||||||
//adding this to the property will automatically have it cached by the autocomplete component
|
//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
|
//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