This does not only improve visual feedback to the user in the form of red highlighting, but also disables the "Add" button while the field is still empty.
Signed-off-by: Michael Köppl <[email protected]> --- www/manager6/ha/ResourceEdit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/manager6/ha/ResourceEdit.js b/www/manager6/ha/ResourceEdit.js index 18ed166ad..a4f53dad4 100644 --- a/www/manager6/ha/ResourceEdit.js +++ b/www/manager6/ha/ResourceEdit.js @@ -86,6 +86,7 @@ Ext.define('PVE.ha.VMResourceInputPanel', { fieldLabel: me.vmid && me.guestType === 'ct' ? 'CT' : 'VM', value: me.vmid, store: vmidStore, + allowBlank: false, validateExists: true, }, { -- 2.47.3 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
