ui: memory field: third time's a charm...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-05-09 18:17:33 +02:00
parent 4aec2728e9
commit 63308ba742
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ Ext.define('PVE.form.MemoryField', {
step: 32,
value: '512', // qm default
value: '512', // qm backend default
allowDecimals: false,

View File

@ -62,6 +62,7 @@ Ext.define('PVE.qemu.MemoryInputPanel', {
name: 'balloon',
minValue: 1,
maxValue: me.insideWizard ? 2048 : 512,
value: me.insideWizard ? '2048' : '512',
step: 32,
fieldLabel: gettext('Minimum memory') + ' (MiB)',
hotplug: me.hotplug,