[pve-devel] [PATCH v4 manager 2/2] ui: lxc: add edit window for device passthrough
Fiona Ebner
f.ebner at proxmox.com
Tue Apr 16 15:57:06 CEST 2024
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}',
> + },
More information about the pve-devel
mailing list