mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 00:04:14 +00:00
forbid decimals and exponent in lxc cores field
because we only accept integers here Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
1e4a853c1e
commit
1d654cfe40
@ -136,6 +136,8 @@ Ext.define('PVE.lxc.CPUInputPanel', {
|
|||||||
minValue: 1,
|
minValue: 1,
|
||||||
maxValue: 128,
|
maxValue: 128,
|
||||||
step: 1,
|
step: 1,
|
||||||
|
allowDecimals: false,
|
||||||
|
allowExponential: false,
|
||||||
value: me.insideWizard ? 1 : '',
|
value: me.insideWizard ? 1 : '',
|
||||||
fieldLabel: gettext('Cores'),
|
fieldLabel: gettext('Cores'),
|
||||||
allowBlank: true,
|
allowBlank: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user