Skip to content

Commit

Permalink
Fix: Encrypted Field's Label settings don't change (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
blankse authored Nov 8, 2024
1 parent cfb446e commit aca95ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/js/pimcore/object/tags/encryptedField.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ pimcore.object.tags.encryptedField = Class.create(pimcore.object.tags.abstract,

if (typeof pimcore.object.tags[fieldConfig.delegateDatatype] !== "undefined") {
var delegateFieldConfig = fieldConfig.delegate || {};
delegateFieldConfig.labelWidth = fieldConfig.labelWidth;
delegateFieldConfig.labelAlign = fieldConfig.labelAlign;
this.delegate = new pimcore.object.tags[fieldConfig.delegateDatatype](data, delegateFieldConfig);
}
this.fieldConfig = fieldConfig;
Expand Down

0 comments on commit aca95ba

Please sign in to comment.