[pve-devel] [PATCH manager 1/3] ui: ipset: make ip/cidr required

Dominik Csapak d.csapak at proxmox.com
Wed Jul 19 14:11:10 CEST 2023


it is in the backend, so make it required in the gui too

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
can be applied independently

 www/manager6/panel/IPSet.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/panel/IPSet.js b/www/manager6/panel/IPSet.js
index c449cdaa..d42d062d 100644
--- a/www/manager6/panel/IPSet.js
+++ b/www/manager6/panel/IPSet.js
@@ -203,6 +203,7 @@ Ext.define('PVE.IPSetCidrEdit', {
 		editable: true,
 		base_url: me.list_refs_url,
 		value: '',
+		allowBlank: false,
 		fieldLabel: gettext('IP/CIDR'),
 	    });
 	} else {
-- 
2.30.2






More information about the pve-devel mailing list