mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-23 19:57:32 +00:00
auth: ldap: openid: use proxmoxtextfield for comment
The regular `textfield` does not support the `deleteEmpty` setting. Thus, if no comment was entered the configuration would still end up with an empty `comment` key: ldap: foo server .... bind-dn ... comment Fixed by switching over to `proxmoxtextfield`, which properly deletes empty keys. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
9133d5b5f9
commit
0e1fa66f75
@ -187,7 +187,7 @@ Ext.define('Proxmox.panel.LDAPInputPanel', {
|
||||
|
||||
columnB: [
|
||||
{
|
||||
xtype: 'textfield',
|
||||
xtype: 'proxmoxtextfield',
|
||||
name: 'comment',
|
||||
fieldLabel: gettext('Comment'),
|
||||
cbind: {
|
||||
|
@ -112,7 +112,7 @@ Ext.define('Proxmox.panel.OpenIDInputPanel', {
|
||||
|
||||
columnB: [
|
||||
{
|
||||
xtype: 'textfield',
|
||||
xtype: 'proxmoxtextfield',
|
||||
name: 'comment',
|
||||
fieldLabel: gettext('Comment'),
|
||||
cbind: {
|
||||
|
Loading…
Reference in New Issue
Block a user