This commit is contained in:
@@ -563,16 +563,16 @@ export default {
|
||||
}
|
||||
},
|
||||
addTag() {
|
||||
//todo: clean the tag to server standards first so it's de-duped in the record
|
||||
var theTag = this.tagSearchEntry;
|
||||
theTag = this.$gzutil.normalizeTag(theTag);
|
||||
//make sure there are no existing of the same tag
|
||||
//make sure there are no existing of the same tag?
|
||||
this.pickLists.tags.push(theTag);
|
||||
this.obj.tags.push(theTag);
|
||||
this.tagSearchEntry = "";
|
||||
//add tags to existing picklist so that it contains all the unique tags ever searched for or present in the object
|
||||
//vm.pickLists.tags+=tags
|
||||
//vm.pickLists.tags=uniqueonly(vm.pickLists.tags)
|
||||
this.$gzform.setFormState({
|
||||
vm: this,
|
||||
dirty: true
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user