X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=www%2Fmanager6%2Fqemu%2FHDEdit.js;h=b78647ec80816b575f74d6da7b4fab5c0edc3bc6;hb=refs%2Fheads%2Fmaster;hp=921bfe72d3575a764f9b2ab7663777dc2c66c9a1;hpb=310f32b7a95d2f4c90ac5a98f2ec9a1908a0b673;p=pve-manager.git diff --git a/www/manager6/qemu/HDEdit.js b/www/manager6/qemu/HDEdit.js index 921bfe72..b78647ec 100644 --- a/www/manager6/qemu/HDEdit.js +++ b/www/manager6/qemu/HDEdit.js @@ -255,10 +255,12 @@ Ext.define('PVE.qemu.HDInputPanel', { name: 'iothread', fieldLabel: 'IO thread', clearOnDisable: true, - bind: { + bind: me.insideWizard || me.isCreate ? { disabled: '{!isVirtIO && !isSCSI}', // Checkbox.setValue handles Arrays in a different way, therefore cast to bool value: '{!!isVirtIO || (isSCSI && isSCSISingle)}', + } : { + disabled: '{!isVirtIO && !isSCSI}', }, }, );