[pve-devel] applied: [PATCH manager 2/6] gui/cluster: validate cluster name length on create

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jan 30 17:56:22 CET 2020


On 1/29/20 11:27 AM, Stefan Reiter wrote:
> API limits this to 15, validate in GUI as well for instant user
> feedback.
> 
> Signed-off-by: Stefan Reiter <s.reiter at 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'
>  	},
>  	{
> 

applied



More information about the pve-devel mailing list