[pve-devel] [PATCH manager] ui: lxc options: fix rendering default value tty count in edit window
Dominik Csapak
d.csapak at proxmox.com
Mon Nov 17 12:22:54 CET 2025
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 <dietmar at proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
replaces the second half of this patch
(by simply dropping the first half):
https://lore.proxmox.com/pve-devel/20251117092110.628324-1-d.csapak@proxmox.com/
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
More information about the pve-devel
mailing list