This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="v-label v-label--active theme--light">
|
||||||
{{ $ay.t("Tags") }}
|
{{ title }}
|
||||||
</span>
|
</span>
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-bind:value="value"
|
v-bind:value="value"
|
||||||
@@ -69,6 +69,7 @@ export default {
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
value: Array,
|
value: Array,
|
||||||
|
label: String,
|
||||||
readonly: { type: Boolean, default: false }
|
readonly: { type: Boolean, default: false }
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -95,7 +96,14 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
title() {
|
||||||
|
if (this.label) {
|
||||||
|
return this.label;
|
||||||
|
}
|
||||||
|
return $ay.t("Tags");
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
addTag() {
|
addTag() {
|
||||||
let theTag = this.tagSearchEntry;
|
let theTag = this.tagSearchEntry;
|
||||||
|
|||||||
Reference in New Issue
Block a user