webhook edit: display validity for added key/value fields

by calling 'isValid()' once the widget is attached to the grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2024-11-12 15:41:56 +01:00 committed by Thomas Lamprecht
parent e872ed40f7
commit e84f80271d

View File

@ -362,6 +362,9 @@ Ext.define('Proxmox.form.WebhookKeyValueList', {
change: 'itemChange',
},
},
onWidgetAttach: function(_col, widget) {
widget.isValid();
},
flex: 1,
},
{
@ -383,6 +386,9 @@ Ext.define('Proxmox.form.WebhookKeyValueList', {
emptyText: '{record.emptyText}',
},
},
onWidgetAttach: function(_col, widget) {
widget.isValid();
},
flex: 1,
},
{