This commit is contained in:
wangyidong
2023-12-14 17:38:04 +08:00
parent 0a2690d758
commit 58f3293257
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ $config->story->form->batchclose['closedReason'] = array('type' => 'string', '
$config->story->form->batchclose['duplicateStory'] = array('type' => 'int', 'required' => false, 'default' => 0);
$config->story->form->change = array();
$config->story->form->change['reviewer'] = array('type' => 'array', 'control' => 'multi-select', 'required' => true, 'default' => '', 'options' => '');
$config->story->form->change['reviewer'] = array('type' => 'array', 'control' => 'multi-select', 'required' => false, 'default' => '', 'options' => '');
$config->story->form->change['title'] = array('type' => 'string', 'control' => 'text', 'required' => true, 'filter' => 'trim');
$config->story->form->change['color'] = array('type' => 'string', 'control' => 'color', 'required' => false, 'default' => '');
$config->story->form->change['spec'] = array('type' => 'string', 'control' => 'editor', 'required' => false, 'default' => '');
+1 -1
View File
@@ -64,7 +64,7 @@ $formItems['reviewer'] = formGroup
) : null,
formHidden('needNotReview', $forceReview ? 0 : 1)
),
set::required($fields['reviewer']['required'])
set::required(true)
);
$formItems['title'] = formGroup
(