From a153457baea9fceecfb1c8d48004884725860a17 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 20 Dec 2023 19:44:48 +0800 Subject: [PATCH] * webhook: modify form config. --- module/webhook/config/formdata.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/webhook/config/formdata.php b/module/webhook/config/formdata.php index 11a9446d67..44f2f0252f 100644 --- a/module/webhook/config/formdata.php +++ b/module/webhook/config/formdata.php @@ -16,8 +16,8 @@ $config->webhook->form->create['feishuAppId'] = array('type' => 'string', ' $config->webhook->form->create['feishuAppSecret'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => '', 'filter' => 'trim'); $config->webhook->form->create['domain'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => '', 'filter' => 'trim'); $config->webhook->form->create['sendType'] = array('type' => 'string', 'control' => 'picker', 'required' => false, 'default' => 'sync', 'options' => $lang->webhook->sendTypeList); -$config->webhook->form->create['products'] = array('type' => 'array', 'control' => 'picker', 'required' => false, 'default' => '', 'options' => array(), 'multiple' => true); -$config->webhook->form->create['executions'] = array('type' => 'array', 'control' => 'picker', 'required' => false, 'default' => '', 'options' => array(), 'multiple' => true); +$config->webhook->form->create['products'] = array('type' => 'array', 'control' => 'picker', 'required' => false, 'default' => '', 'filter' => 'join', 'multiple' => true); +$config->webhook->form->create['executions'] = array('type' => 'array', 'control' => 'picker', 'required' => false, 'default' => '', 'filter' => 'join', 'multiple' => true); $config->webhook->form->create['params'] = array('type' => 'array', 'control' => 'checkList', 'required' => false, 'default' => '', 'options' => $lang->webhook->paramsList, 'width' => 'full', 'inline' => true); $config->webhook->form->create['desc'] = array('type' => 'string', 'control' => 'editor', 'required' => false, 'default' => '', 'width' => 'full');