From a41afc801378a8b985484044d18fbf32c293b802 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 21 Jan 2022 08:52:39 +0100 Subject: [PATCH] :bug: Fix issue with default values in combination with displayOptions --- .../editor-ui/src/components/CredentialEdit/CredentialEdit.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue index b391a7b928..0b620890e6 100644 --- a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue +++ b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue @@ -198,8 +198,7 @@ export default mixins(showMessage, nodeHelpers).extend({ if (this.credentialType) { for (const property of this.credentialType.properties) { if (!this.credentialData.hasOwnProperty(property.name)) { - this.credentialData[property.name] = - property.default as CredentialInformation; + Vue.set(this.credentialData, property.name, property.default as CredentialInformation); } } }