Fix: Fix incorrect tag form validation

pull/2528/head
Nelson Chan 1 year ago
parent b8e8c1b9db
commit edd8fe2e22

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

Loading…
Cancel
Save