]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
ui: storage: do not allow empty TPG if LIO is selected
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Aug 2018 16:25:56 +0000 (18:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Aug 2018 16:25:56 +0000 (18:25 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/storage/ZFSEdit.js

index ec818a71e50c589068e8c742ccbc644547e2e1c6..219a06cd3b1d71df4f830f6ecef07619e38a7e68 100644 (file)
@@ -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')
            }
        ];