* Add required label property to formBatchItem widget.

This commit is contained in:
zhouxin
2023-10-16 16:09:47 +08:00
parent d5f691595f
commit 7c57d8cfbf
+2 -2
View File
@@ -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());