extend: 'Ext.form.field.ComboBox',
alias: 'widget.proxmoxKVComboBox',
- deleteEmpty: true,
+ config: {
+ deleteEmpty: true
+ },
+
comboItems: undefined,
displayField: 'value',
valueField: 'key',
if (val !== null && val !== '' && val !== '__default__') {
data = {};
data[me.getName()] = val;
- } else if (me.deleteEmpty) {
+ } else if (me.getDeleteEmpty()) {
data = {};
data['delete'] = me.getName();
}