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

Reply via email to