mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 03:55:33 +00:00
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:
parent
96ed94ad6f
commit
63584726fc
@ -21,6 +21,7 @@ Ext.define('PVE.ClusterCreateWindow', {
|
|||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
fieldLabel: gettext('Cluster Name'),
|
fieldLabel: gettext('Cluster Name'),
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
|
maxLength: 15,
|
||||||
name: 'clustername'
|
name: 'clustername'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user