From 7c57d8cfbf3d41d7068c4decb9fe24c84f7906bb Mon Sep 17 00:00:00 2001 From: zhouxin Date: Mon, 16 Oct 2023 16:09:11 +0800 Subject: [PATCH] * Add required label property to formBatchItem widget. --- module/programplan/config/form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/programplan/config/form.php b/module/programplan/config/form.php index 514387b34f..1782083ab0 100644 --- a/module/programplan/config/form.php +++ b/module/programplan/config/form.php @@ -34,8 +34,8 @@ $app->loadLang('execution'); $app->loadLang('stage'); !isset($config->programplan->form) && $config->programplan->form = new stdClass(); $config->programplan->form->create = common::formConfig('programplan', 'create'); -$config->programplan->form->create['planIDList'] = array('type' => 'array', 'control' => 'text', 'required' => false, 'default' => ''); -$config->programplan->form->create['orders'] = array('type' => 'array', 'control' => 'text', 'required' => false, 'default' => ''); +$config->programplan->form->create['planIDList'] = array('label' => '', 'type' => 'array', 'control' => 'text', 'required' => false, 'default' => ''); +$config->programplan->form->create['orders'] = array('label' => '', 'type' => 'array', 'control' => 'text', 'required' => false, 'default' => ''); $config->programplan->form->create['type'] = array('label' => $lang->execution->method, 'type' => 'array', 'control' => 'select', 'required' => true, 'default' => '', 'options' => $lang->execution->typeList); $config->programplan->form->create['name'] = array('label' => $lang->nameAB, 'type' => 'array', 'control' => 'text', 'required' => true, 'default' => '', 'base' => true); $config->programplan->form->create['code'] = array('label' => $lang->code, 'type' => 'array', 'control' => 'text', 'required' => false, 'default' => '', 'options' => array());