mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 16:14:58 +00:00
do not allow empty VMID fields by default
This commit is contained in:
parent
04f5d98e6a
commit
6729b1780f
@ -1,6 +1,8 @@
|
|||||||
Ext.define('PVE.form.VMIDSelector', {
|
Ext.define('PVE.form.VMIDSelector', {
|
||||||
extend: 'Ext.form.field.Number',
|
extend: 'Ext.form.field.Number',
|
||||||
alias: 'widget.pveVMIDSelector',
|
alias: 'widget.pveVMIDSelector',
|
||||||
|
|
||||||
|
allowBlank: false,
|
||||||
|
|
||||||
minValue: 100,
|
minValue: 100,
|
||||||
|
|
||||||
@ -31,8 +33,7 @@ Ext.define('PVE.form.VMIDSelector', {
|
|||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
Ext.applyIf(me, {
|
Ext.applyIf(me, {
|
||||||
fieldLabel: 'VM ID',
|
fieldLabel: 'VM ID'
|
||||||
allowBlank: false
|
|
||||||
});
|
});
|
||||||
|
|
||||||
me.callParent();
|
me.callParent();
|
||||||
|
Loading…
Reference in New Issue
Block a user