diff --git a/aas-web-ui/src/components/SubmodelElements/AnnotatedRelationshipElement.vue b/aas-web-ui/src/components/SubmodelElements/AnnotatedRelationshipElement.vue index a254498..7a8ebc3 100644 --- a/aas-web-ui/src/components/SubmodelElements/AnnotatedRelationshipElement.vue +++ b/aas-web-ui/src/components/SubmodelElements/AnnotatedRelationshipElement.vue @@ -15,8 +15,9 @@ + :submodel-element-object="SubmodelElement" + :card-style="'outlined'" + :is-editable="isEditable"> @@ -32,7 +33,16 @@ RelationshipElement, // SubmodelElementWrapper, }, - props: ['annotatedRelationshipElementObject'], + props: { + annotatedRelationshipElementObject: { + type: Object, + default: () => ({}), + }, + isEditable: { + type: Boolean, + default: true, + }, + }, setup() { const SubmodelElementWrapper = shallowRef(null) as any; diff --git a/aas-web-ui/src/components/SubmodelElements/Blob.vue b/aas-web-ui/src/components/SubmodelElements/Blob.vue index a9c6aee..1fe4e73 100644 --- a/aas-web-ui/src/components/SubmodelElements/Blob.vue +++ b/aas-web-ui/src/components/SubmodelElements/Blob.vue @@ -34,7 +34,8 @@ variant="outlined" density="compact" :hide-details="isTruncated ? false : true" - clearable + :clearable="isEditable" + :readonly="!isEditable" :hint="isTruncated ? 'Blob string is truncated!' : ''" persistent-hint @keydown.enter="updateBlob()" @@ -43,7 +44,7 @@