From c609387924823853afe840b312eb1c70052874b8 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Mon, 22 Sep 2025 16:00:24 +0530 Subject: [PATCH 01/13] Changes in Organization popup --- src/components/Organization/ManagOrg.jsx | 1 + src/components/common/SelectMultiple.jsx | 4 ++- src/pages/Activities/AttendancePage.jsx | 41 ++++++++++++------------ 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/src/components/Organization/ManagOrg.jsx b/src/components/Organization/ManagOrg.jsx index 8ac9f677..0f4aa49e 100644 --- a/src/components/Organization/ManagOrg.jsx +++ b/src/components/Organization/ManagOrg.jsx @@ -146,6 +146,7 @@ const ManagOrg = () => { required valueKey="id" options={service?.data || []} + required = {true} /> {errors.serviceIds && ( {errors.serviceIds.message} diff --git a/src/components/common/SelectMultiple.jsx b/src/components/common/SelectMultiple.jsx index 01b327cc..ff59d89a 100644 --- a/src/components/common/SelectMultiple.jsx +++ b/src/components/common/SelectMultiple.jsx @@ -12,6 +12,7 @@ const SelectMultiple = ({ valueKey = "id", placeholder = "Please select...", IsLoading = false, + required = false }) => { const { setValue, watch } = useFormContext(); const selectedValues = watch(name) || []; @@ -146,7 +147,8 @@ const SelectMultiple = ({ className="multi-select-dropdown-container" style={{ position: "relative" }} > - + +
{ {/* Search + Organization filter */}
{/* Organization Dropdown */} - {organizations?.length > 1 && ( - - )} + {/* Search Input */} { />
+
From a380a7ab29c9572abee0e656d589e043f79e08f0 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Mon, 22 Sep 2025 16:25:02 +0530 Subject: [PATCH 02/13] Changes in Choose Organization1 popup increase the space. --- src/components/Organization/AssignOrg.jsx | 14 +++++++------- src/components/common/Modal.jsx | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/Organization/AssignOrg.jsx b/src/components/Organization/AssignOrg.jsx index a216560c..270fac0d 100644 --- a/src/components/Organization/AssignOrg.jsx +++ b/src/components/Organization/AssignOrg.jsx @@ -171,8 +171,8 @@ const AssignOrg = ({ setStep }) => { {flowType !== "default" && ( <> {/* Organization Type */} -
-