[pve-devel] [PATCH] fabrics: add maxLength to fabric name to improve error message
Gabriel Goller
g.goller at proxmox.com
Fri Jul 18 14:02:13 CEST 2025
A fabric name has a character limit of 8 characters. (This is due to the
dummy interface, which is named 'dummy_<fabric_name>' which is limited
by the max interface name length in the kernel.) This shows a nicer
error message instead of only "Invalid character".
Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
www/manager6/sdn/fabrics/FabricEdit.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager6/sdn/fabrics/FabricEdit.js b/www/manager6/sdn/fabrics/FabricEdit.js
index 5aa001564175..07d1692879c7 100644
--- a/www/manager6/sdn/fabrics/FabricEdit.js
+++ b/www/manager6/sdn/fabrics/FabricEdit.js
@@ -18,6 +18,7 @@ Ext.define('PVE.sdn.Fabric.Fabric.Edit', {
xtype: 'proxmoxtextfield',
fieldLabel: gettext('Name'),
labelWidth: 120,
+ maxLength: 8,
name: 'id',
cbind: {
disabled: '{!isCreate}',
--
2.39.5
More information about the pve-devel
mailing list