[pve-devel] applied: [PATCH manager 2/2] ui: storage: do not allow empty TPG if LIO is selected

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Aug 2 18:28:17 CEST 2018


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/storage/ZFSEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/storage/ZFSEdit.js b/www/manager6/storage/ZFSEdit.js
index ec818a71..219a06cd 100644
--- a/www/manager6/storage/ZFSEdit.js
+++ b/www/manager6/storage/ZFSEdit.js
@@ -115,6 +115,7 @@ Ext.define('PVE.storage.ZFSInputPanel', {
 		name: 'lio_tpg',
 		value: '',
 		bind: me.isCreate ? { disabled: '{!isLIO}' } : { hidden: '{!isLIO}' },
+		allowBlank: false,
 		fieldLabel: gettext('LIO target portal group')
 	    }
 	];
-- 
2.18.0





More information about the pve-devel mailing list