This commit is contained in:
2021-02-09 16:28:27 +00:00
parent 0f80f4f95a
commit c2f7c17c8b

View File

@@ -1,10 +1,10 @@
<template>
<div>
<!-- <div>
<div>
tagSearchEntry:
{{ tagSearchEntry }}<br />
value:{{ value }}
</div> -->
</div>
<span class="v-label v-label--active theme--light">
{{ title }}
</span>
@@ -23,7 +23,7 @@
deletable-chips
cache-items
>
<template slot="no-data" v-if="tagSearchEntry">
<template slot="no-data" v-if="offerAdd()">
<v-chip color="primary" text-color="white" class="display-1">
{{ this.normalizeTag(tagSearchEntry) }}</v-chip
>
@@ -105,8 +105,16 @@ export default {
if(this.tagSearchEntry==null || this.tagSearchEntry==""){
return false;
}
let searchTag=this.normalizeTag(tagSearchEntry);
let searchTag=this.normalizeTag(this.tagSearchEntry);
if (
!editItem.filter.items.some(
z => z.op == filterItem.op && z.value == filterItem.value
)
console.log("offerAdd",{searchtag:searchTag,val:this.value});
if(this.value.some)
return true;
},