ui: OpenID edit: make username-claim field editable for arbitrary values
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c75098386d
commit
c860b3490a
@ -64,21 +64,22 @@ Ext.define('Proxmox.panel.OpenIDInputPanel', {
|
||||
{
|
||||
xtype: 'pmxDisplayEditField',
|
||||
name: 'username-claim',
|
||||
fieldLabel: gettext('Username Claim'),
|
||||
editConfig: {
|
||||
xtype: 'proxmoxKVComboBox',
|
||||
editable: true,
|
||||
comboItems: [
|
||||
['__default__', Proxmox.Utils.defaultText],
|
||||
['subject', 'subject'],
|
||||
['username', 'username'],
|
||||
['email', 'email'],
|
||||
],
|
||||
},
|
||||
cbind: {
|
||||
value: get => get('isCreate') ? '__default__' : Proxmox.Utils.defaultText,
|
||||
deleteEmpty: '{!isCreate}',
|
||||
editable: '{isCreate}',
|
||||
},
|
||||
fieldLabel: gettext('Username Claim'),
|
||||
comboItems: [
|
||||
['__default__', Proxmox.Utils.defaultText],
|
||||
['subject', 'subject'],
|
||||
['username', 'username'],
|
||||
['email', 'email'],
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user