This commit is contained in:
2020-07-15 13:26:30 +00:00
parent b206de3e18
commit fd893e9bfb

View File

@@ -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;