API limits this to 15, validate in GUI as well for instant user
feedback.

Signed-off-by: Stefan Reiter <s.rei...@proxmox.com>
---
 www/manager6/dc/ClusterEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/dc/ClusterEdit.js b/www/manager6/dc/ClusterEdit.js
index a8c021d2..0af858a5 100644
--- a/www/manager6/dc/ClusterEdit.js
+++ b/www/manager6/dc/ClusterEdit.js
@@ -21,6 +21,7 @@ Ext.define('PVE.ClusterCreateWindow', {
            xtype: 'textfield',
            fieldLabel: gettext('Cluster Name'),
            allowBlank: false,
+           maxLength: 15,
            name: 'clustername'
        },
        {
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to