diff --git a/src/components/Properties/PropertyMultipleText.vue b/src/components/Properties/PropertyMultipleText.vue index c2f725ba9..1f489cfd2 100644 --- a/src/components/Properties/PropertyMultipleText.vue +++ b/src/components/Properties/PropertyMultipleText.vue @@ -57,7 +57,7 @@ tag-placeholder="create" track-by="id" label="name" - @tag="createLabel" + @option:created="createLabel" @input="updateType" /> diff --git a/src/components/Properties/PropertyText.vue b/src/components/Properties/PropertyText.vue index 73ae88e2e..8f7f121bc 100644 --- a/src/components/Properties/PropertyText.vue +++ b/src/components/Properties/PropertyText.vue @@ -49,7 +49,7 @@ :disabled="isReadOnly" track-by="id" label="name" - @tag="createLabel" + @option:created="createLabel" @input="updateType" /> diff --git a/src/mixins/PropertyMixin.js b/src/mixins/PropertyMixin.js index 1b6f6c777..8621c360d 100644 --- a/src/mixins/PropertyMixin.js +++ b/src/mixins/PropertyMixin.js @@ -148,7 +148,7 @@ export default { const group = propGroup.split('.')[0] const name = propGroup.split('.')[1] - this.localContact.vCard.addPropertyWithValue(`${group}.x-ablabel`, label) + this.localContact.vCard.addPropertyWithValue(`${group}.x-ablabel`, label.name) // force update the main design sets setPropertyAlias(name, propGroup)