fix #6516: ui: backup job: limit the job ID length

The API only allows backup job IDs of up to 50 characters, so mark
longer values as invalid in the edit window already, instead of failing
on submit.

Signed-off-by: Michal Fox <me@dualfroz.com>
This commit is contained in:
dualfroz committed 2026-09-25 11:31:04 +02:00
1 parent f1b3e41dcd
commit 7143720659
1 file changed
+1
@@ -122,6 +122,7 @@ Ext.define('PVE.panel.BackupAdvancedOptions', {
startColumn: {
xtype: 'pmxDisplayEditField',
vtype: 'ConfigId',
maxLength: 50,
fieldLabel: gettext('Job ID'),
emptyText: gettext('Autogenerate'),
name: 'id',