From 3da3e6491c468a303f3f76f33c93db7b2407f6fa Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 26 Oct 2023 13:14:25 +0800 Subject: [PATCH] * Set picker required to module and scene in testcase::batchcreate. --- module/testcase/ui/batchcreate.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/testcase/ui/batchcreate.html.php b/module/testcase/ui/batchcreate.html.php index 8dc59c3352..37fd7916d1 100644 --- a/module/testcase/ui/batchcreate.html.php +++ b/module/testcase/ui/batchcreate.html.php @@ -61,7 +61,7 @@ $items[] = array 'name' => 'module', 'label' => $lang->testcase->module, 'hidden' => zget($visibleFields, 'module', true, false), - 'control' => 'picker', + 'control' => array('type' => 'picker', 'required' => true), 'items' => $moduleOptionMenu, 'value' => $currentModuleID, 'width' => '200px', @@ -75,7 +75,7 @@ $items[] = array 'name' => 'scene', 'label' => $lang->testcase->scene, 'hidden' => zget($visibleFields, 'scene', true, false), - 'control' => 'picker', + 'control' => array('type' => 'picker', 'required' => true), 'items' => $sceneOptionMenu, 'value' => $currentSceneID, 'width' => '200px',