gui/cluster: validate cluster name length on create

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

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter 2020-01-29 11:27:19 +01:00 committed by Thomas Lamprecht
parent 96ed94ad6f
commit 63584726fc

View File

@ -21,6 +21,7 @@ Ext.define('PVE.ClusterCreateWindow', {
xtype: 'textfield',
fieldLabel: gettext('Cluster Name'),
allowBlank: false,
maxLength: 15,
name: 'clustername'
},
{