do not allow empty VMID fields by default

This commit is contained in:
Dietmar Maurer 2011-11-04 13:44:24 +01:00
parent 5f1518d608
commit 161b8020b6

@ -1,6 +1,8 @@
Ext.define('PVE.form.VMIDSelector', {
extend: 'Ext.form.field.Number',
alias: 'widget.pveVMIDSelector',
allowBlank: false,
minValue: 100,
@ -31,8 +33,7 @@ Ext.define('PVE.form.VMIDSelector', {
var me = this;
Ext.applyIf(me, {
fieldLabel: 'VM ID',
allowBlank: false
fieldLabel: 'VM ID'
});
me.callParent();