[pve-devel] [PATCH manager] gui: dc/Options: make migration network selector editable

Dominik Csapak d.csapak at proxmox.com
Wed Jul 17 14:46:57 CEST 2019


this fixes 3 things:
* one can enter subnets that are not configured
  (does not make sense most of the time, but it can be)
* if a migration network is set where there is no configured
  ip exists, it shows again when editing
* a user can delete it again without pressing backspace/del

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/OptionView.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js
index 3974e59e..72c09aa8 100644
--- a/www/manager6/dc/OptionView.js
+++ b/www/manager6/dc/OptionView.js
@@ -100,6 +100,7 @@ Ext.define('PVE.dc.OptionView', {
 		fieldLabel: gettext('Network'),
 		value: null,
 		emptyText: Proxmox.Utils.defaultText,
+		editable: true,
 		autoSelect: false,
 		skipEmptyText: true
 	    }]
-- 
2.20.1





More information about the pve-devel mailing list