From 1ae87ef0504c75861038de9d2bdbd798a3fc57cf Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 1 Sep 2023 16:42:15 +0800 Subject: [PATCH] - Remove the drop-down empty option. --- module/execution/ui/manageproducts.html.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/execution/ui/manageproducts.html.php b/module/execution/ui/manageproducts.html.php index 3621ac66c6..b3af61ab50 100644 --- a/module/execution/ui/manageproducts.html.php +++ b/module/execution/ui/manageproducts.html.php @@ -42,6 +42,7 @@ foreach($allProducts as $productID => $productName) set::value($branchID), set::items($allBranches[$productID]), set::disabled(true), + set::required(true), ) : null, input ( @@ -80,6 +81,7 @@ if($execution->grade == 1 || $execution->grade == 2) set::name("branch[{$index}]"), set::value(key($branchGroups[$productID])), set::items($branchGroups[$productID]), + set::required(true), ) : null );