[pve-devel] [PATCH manager 2/4] ui: dc/BackupEdit: use correct validation

Dominik Csapak d.csapak at proxmox.com
Wed Nov 10 15:02:54 CET 2021


we use a 'pve-configid', so use the 'ConfigId' vtype

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/Backup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index dede8e6e..24fa94a6 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -181,8 +181,8 @@ Ext.define('PVE.dc.BackupEdit', {
 		name: 'id',
 		fieldLabel: gettext('ID'),
 		renderer: Ext.htmlEncode,
+		vtype: 'ConfigId',
 		allowBlank: false,
-		minLength: 4,
 		editable: me.isCreate,
 	    },
 	    nodesel,
-- 
2.30.2






More information about the pve-devel mailing list