mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-27 08:50:06 +00:00
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:
parent
e872ed40f7
commit
e84f80271d
@ -362,6 +362,9 @@ Ext.define('Proxmox.form.WebhookKeyValueList', {
|
|||||||
change: 'itemChange',
|
change: 'itemChange',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
onWidgetAttach: function(_col, widget) {
|
||||||
|
widget.isValid();
|
||||||
|
},
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -383,6 +386,9 @@ Ext.define('Proxmox.form.WebhookKeyValueList', {
|
|||||||
emptyText: '{record.emptyText}',
|
emptyText: '{record.emptyText}',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
onWidgetAttach: function(_col, widget) {
|
||||||
|
widget.isValid();
|
||||||
|
},
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user