From edd8fe2e226896aa1b0e978f512aacc17d50d3de Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Tue, 3 Jan 2023 22:18:45 +0800 Subject: [PATCH] Fix: Fix incorrect tag form validation --- src/components/TagsManager.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TagsManager.vue b/src/components/TagsManager.vue index 2958babe..8481fdfe 100644 --- a/src/components/TagsManager.vue +++ b/src/components/TagsManager.vue @@ -204,7 +204,7 @@ export default { nameInvalid = false; valueInvalid = false; invalid = false; - } else if (this.existingTags.filter(tag => tag.name === this.newDraftTag.name).length > 0) { + } else if (this.existingTags.filter(tag => tag.name === this.newDraftTag.name).length > 0 && this.newDraftTag.select == null) { // Try to create new tag with existing name nameInvalid = true; invalid = true;