> @@ -77,6 +79,10 @@ Ext.define('PVE.form.NodeSelector', {
>           }
>       });
> 
> +        if (me.selectCurNode && PVE.curSelectedNode.data.node) {
> +            me.value = PVE.curSelectedNode.data.node;
> +        }
> +

This does not work, or it is not reliable. Seems we miss some change
signals.

I added a new option 'preferredValue' to PVE.form.ComboGrid.

This is used after load() as default value if the node exists.

Please can you test if that works for you.



_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to