Changed in patch v5. I also fixed a bug that ignored a custom devid when
creating a device passthrough.
https://lists.proxmox.com/pipermail/pve-devel/2024-April/063108.html
On 16/04/2024 15:57, Fiona Ebner wrote:
Am 16.04.24 um 14:10 schrieb Filip Schauer:
+
+ cbind: {
+ confid: '{confid}',
+ isCreate: get => !get('confid'),
+ },
Can't the above be removed while...
+
+ items: [
+ {
+ xtype: 'proxmoxintegerfield',
+ name: 'devid',
+ fieldLabel: gettext('Passthrough ID'),
+ minValue: 0,
+ maxValue: PVE.Utils.dev_count - 1,
+ hidden: true,
+ allowBlank: false,
+ disabled: true,
+ labelAlign: 'right',
+ bind: {
...using cbind instead of bind here?
+ hidden: '{!isCreate}',
+ disabled: '{!isCreate}',
+ },
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel