[pve-devel] [PATCH manager 2/2] ui: ha: do not allow an empty VM/CT dropdown in resource edit window
Michael Köppl
m.koeppl at proxmox.com
Fri Sep 19 17:33:17 CEST 2025
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 <m.koeppl at proxmox.com>
---
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
More information about the pve-devel
mailing list