Commit 161b8020 authored by Dietmar Maurer's avatar Dietmar Maurer

do not allow empty VMID fields by default

parent 5f1518d6
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', { ...@@ -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();
......
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