displayedit: allow passing an explicit displayConfig
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
41cf4ae184
commit
26f17eb15a
@ -63,6 +63,11 @@ Ext.define('Proxmox.form.field.DisplayEdit', {
|
||||
});
|
||||
Ext.applyIf(editConfig, displayConfig);
|
||||
|
||||
if (me.initialConfig && me.initialConfig.displayConfig) {
|
||||
Ext.applyIf(displayConfig, me.initialConfig.displayConfig);
|
||||
delete displayConfig.displayConfig;
|
||||
}
|
||||
|
||||
Ext.applyIf(displayConfig.bind, {
|
||||
hidden: '{editable}',
|
||||
disabled: '{editable}',
|
||||
|
Loading…
x
Reference in New Issue
Block a user