diff --git a/public/js/components/Tag/Tag.js b/public/js/components/Tag/Tag.js index a3243ed47..a28a1ab36 100644 --- a/public/js/components/Tag/Tag.js +++ b/public/js/components/Tag/Tag.js @@ -22,11 +22,15 @@ export default { savepoint: {}, values: { type: Array, - required: true + required: false, }, confirmLimit: { type: Number, default: 20 + }, + readonly: { + type: Boolean, + default: false } }, data() { @@ -55,7 +59,7 @@ export default { mounted() {}, methods: { init() { - if (!this.endpoint) + if (!this.endpoint || this.readonly) return; this.$api.call(this.endpoint.getTags()) .then(response => response.data) @@ -201,12 +205,12 @@ export default { }, template: `