🐛 Fix issue with default values in combination with displayOptions

This commit is contained in:
Jan Oberhauser 2022-01-21 08:52:39 +01:00
parent f5991e17db
commit a41afc8013

View file

@ -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);
}
}
}