Commit 39bd8e8f authored by tgrodzinski's avatar tgrodzinski Committed by Dietmar Maurer

allow minimum disk sizes of nearly 1MB

Signed-off-by: 's avatartgrodzinski <t.grodzinski@profihost.ag>
parent bdd3663d
......@@ -38,7 +38,9 @@ Ext.define('PVE.openvz.RessourceInputPanel', {
{
xtype: 'numberfield',
name: 'disk',
minValue: 0.5,
minValue: 0.001,
maxValue: 128*1024,
decimalPrecision: 3,
value: '4',
step: 1,
fieldLabel: gettext('Disk size') + ' (GB)',
......
......@@ -165,8 +165,9 @@ Ext.define('PVE.qemu.HDInputPanel', {
me.hdsizesel = Ext.createWidget('numberfield', {
name: 'disksize',
minValue: 1,
minValue: 0.001,
maxValue: 128*1024,
decimalPrecision: 3,
value: '32',
fieldLabel: gettext('Disk size') + ' (GB)',
allowBlank: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment