diff --git a/src/views/admin/components/metadata-types/relationship/TainacanRelationship.vue b/src/views/admin/components/metadata-types/relationship/TainacanRelationship.vue index c3e51f496..d193c2783 100644 --- a/src/views/admin/components/metadata-types/relationship/TainacanRelationship.vue +++ b/src/views/admin/components/metadata-types/relationship/TainacanRelationship.vue @@ -11,7 +11,7 @@ :disabled="disabled" size="is-small" icon="magnify" - :model-value="selected" + :model-value="JSON.parse(JSON.stringify(selected))" :data="options" :maxtags="maxtags != undefined ? maxtags : (itemMetadatum.metadatum.multiple == 'yes' || allowNew === true ? (maxMultipleValues !== undefined ? maxMultipleValues : null) : '1')" autocomplete @@ -51,6 +51,9 @@
+ + {{ (props.tag && props.tag.label) ? props.tag.label : '' }} + diff --git a/src/views/admin/components/metadata-types/user/TainacanUser.vue b/src/views/admin/components/metadata-types/user/TainacanUser.vue index f79723558..4f04d5808 100644 --- a/src/views/admin/components/metadata-types/user/TainacanUser.vue +++ b/src/views/admin/components/metadata-types/user/TainacanUser.vue @@ -6,7 +6,7 @@ :disabled="disabled" size="is-small" icon="account" - :model-value="selected" + :model-value="JSON.parse(JSON.stringify(selected))" :data="options" :maxtags="maxtags != undefined ? maxtags : (itemMetadatum.metadatum.multiple == 'yes' || allowNew === true ? (maxMultipleValues !== undefined ? maxMultipleValues : null) : '1')" autocomplete @@ -30,17 +30,20 @@