[pve-devel] [PATCH manager 2/3] make the ha node priority field explicitly not a form field

Dominik Csapak d.csapak at proxmox.com
Wed Feb 15 14:55:49 CET 2017


in extjs 6.2 form fields in widgetcolumns get parsed in a form
which is not what we want here, because we have a hidden field, which
gets generated on a change

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

diff --git a/www/manager6/ha/GroupEdit.js b/www/manager6/ha/GroupEdit.js
index 0d4aa45..d342e3b 100644
--- a/www/manager6/ha/GroupEdit.js
+++ b/www/manager6/ha/GroupEdit.js
@@ -81,6 +81,7 @@ Ext.define('PVE.ha.GroupInputPanel', {
 			xtype: 'pveIntegerField',
 			minValue: 0,
 			maxValue: 1000,
+			isFormField: false,
 			listeners: {
 			    change: function(numberfield, value, old_value) {
 				var record = numberfield.getWidgetRecord();
-- 
2.1.4





More information about the pve-devel mailing list