ext6migrate: change default values
since KVCombobox expects __default__ as default value change to this in DisplayEdit HDEdit KeyboardEdit ProcessorEdit Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
ad1b482b2d
commit
b3e01b00af
@ -24,7 +24,7 @@ Ext.define('PVE.qemu.DisplayEdit', {
|
||||
|
||||
displayField = Ext.createWidget('DisplaySelector', {
|
||||
name: 'vga',
|
||||
value: '',
|
||||
value: '__default__',
|
||||
fieldLabel: gettext('Graphic card'),
|
||||
validator: validateDisplay
|
||||
});
|
||||
|
@ -92,7 +92,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
|
||||
values.hdimage = drive.file;
|
||||
values.nobackup = !PVE.Parser.parseBoolean(drive.backup, 1);
|
||||
values.diskformat = drive.format || 'raw';
|
||||
values.cache = drive.cache || '';
|
||||
values.cache = drive.cache || '__default__';
|
||||
values.discard = (drive.discard === 'on');
|
||||
values.iothread = PVE.Parser.parseBoolean(drive.iothread);
|
||||
|
||||
|
@ -9,7 +9,7 @@ Ext.define('PVE.qemu.KeyboardEdit', {
|
||||
items: {
|
||||
xtype: 'VNCKeyboardSelector',
|
||||
name: 'keyboard',
|
||||
value: '',
|
||||
value: '__default__',
|
||||
fieldLabel: gettext('Keyboard Layout')
|
||||
}
|
||||
});
|
||||
|
@ -86,7 +86,7 @@ Ext.define('PVE.qemu.ProcessorInputPanel', {
|
||||
{
|
||||
xtype: 'CPUModelSelector',
|
||||
name: 'cputype',
|
||||
value: '',
|
||||
value: '__default__',
|
||||
fieldLabel: gettext('Type')
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user