If the default is set, the edit window would always pre-fill the value '2' instead of leaving the field empty. Fix that by removing the manually set 'value' property.
Reported-by: Dietmar Maurer <[email protected]> Signed-off-by: Dominik Csapak <[email protected]> --- replaces the second half of this patch (by simply dropping the first half): https://lore.proxmox.com/pve-devel/[email protected]/ www/manager6/lxc/Options.js | 1 - 1 file changed, 1 deletion(-) diff --git a/www/manager6/lxc/Options.js b/www/manager6/lxc/Options.js index 6cc2e2b4..4a22d38d 100644 --- a/www/manager6/lxc/Options.js +++ b/www/manager6/lxc/Options.js @@ -90,7 +90,6 @@ Ext.define('PVE.lxc.Options', { name: 'tty', minValue: 0, maxValue: 6, - value: 2, fieldLabel: gettext('TTY count'), emptyText: gettext('Default'), deleteEmpty: true, -- 2.47.3 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
