[pve-devel] [PATCH manager 2/3] ui: don't set the default value of combogrids to ''
Dominik Csapak
d.csapak at proxmox.com
Wed Jul 19 14:11:11 CEST 2023
the combogrid does that itself already
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
can be applied independently, but fixes dirty tracking when the
widget-toolkit patch is also present
www/manager6/grid/FirewallRules.js | 2 --
www/manager6/panel/IPSet.js | 1 -
2 files changed, 3 deletions(-)
diff --git a/www/manager6/grid/FirewallRules.js b/www/manager6/grid/FirewallRules.js
index 18075eaa..11881bf7 100644
--- a/www/manager6/grid/FirewallRules.js
+++ b/www/manager6/grid/FirewallRules.js
@@ -234,7 +234,6 @@ Ext.define('PVE.FirewallRulePanel', {
autoSelect: false,
editable: true,
base_url: me.list_refs_url,
- value: '',
fieldLabel: gettext('Source'),
maxLength: 512,
maxLengthText: gettext('Too long, consider using IP sets.'),
@@ -245,7 +244,6 @@ Ext.define('PVE.FirewallRulePanel', {
autoSelect: false,
editable: true,
base_url: me.list_refs_url,
- value: '',
fieldLabel: gettext('Destination'),
maxLength: 512,
maxLengthText: gettext('Too long, consider using IP sets.'),
diff --git a/www/manager6/panel/IPSet.js b/www/manager6/panel/IPSet.js
index d42d062d..d96ed18a 100644
--- a/www/manager6/panel/IPSet.js
+++ b/www/manager6/panel/IPSet.js
@@ -202,7 +202,6 @@ Ext.define('PVE.IPSetCidrEdit', {
autoSelect: false,
editable: true,
base_url: me.list_refs_url,
- value: '',
allowBlank: false,
fieldLabel: gettext('IP/CIDR'),
});
--
2.30.2
More information about the pve-devel
mailing list