]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: backup job: limit ID to 20 chars for now
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 10 Nov 2021 20:29:38 +0000 (21:29 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 10 Nov 2021 20:29:40 +0000 (21:29 +0100)
we're thinking of maybe just auto-filling it or allowing to edit it,
in any way, the comment field can/should be used for longer, free
form info.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/Backup.js

index 92047105d71058d5dbd4e3f20217d6d3d3b0149d..e33f5e2793102f8119db00419bc1ebe640e2a351 100644 (file)
@@ -186,6 +186,10 @@ Ext.define('PVE.dc.BackupEdit', {
                    'overflow': 'hidden',
                    'white-space': 'nowrap',
                },
+               editConfig: {
+                   maxLength: 20, // easier to allow more than less in the future..
+                   enforceMaxLength: true,
+               },
                vtype: 'ConfigId',
                allowBlank: false,
                editable: me.isCreate,