From 7e161e6ef81b2798aa91c8e705ec9e968675079a Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Mon, 27 Oct 2025 19:53:08 +0900
Subject: (김준회) 자재그룹 선택기에서 코드를 보여주지 않는 선택기 추가개발,
 회원가입시 사용하도록 변경 *박성형프로요청
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/signup/join-form.tsx | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

(limited to 'components/signup/join-form.tsx')

diff --git a/components/signup/join-form.tsx b/components/signup/join-form.tsx
index 2dd07959..6885279a 100644
--- a/components/signup/join-form.tsx
+++ b/components/signup/join-form.tsx
@@ -71,7 +71,7 @@ import koLocale from "i18n-iso-countries/langs/ko.json";
 import { getVendorTypes } from '@/lib/vendors/service';
 import ConsentStep from './conset-step';
 import { checkEmailExists } from '@/lib/vendor-users/service';
-import { MaterialGroupSelector } from '@/components/common/material/material-group-selector';
+import { MaterialGroupSelectorDialogMulti } from '@/components/common/material/material-group-selector-dialog-multi-without-code';
 import { MaterialSearchItem } from '@/lib/material/material-group-service';
 
 i18nIsoCountries.registerLocale(enLocale);
@@ -1232,15 +1232,12 @@ function CompleteVendorForm({
             <label className="block text-sm font-medium mb-1">
               {t('supplyItems')} <span className="text-red-500">*</span>
             </label>
-            <MaterialGroupSelector
+            <MaterialGroupSelectorDialogMulti
               selectedMaterials={data.items}
-              onMaterialsChange={handleMaterialsChange}
-              placeholder="type material name or code..."
-              noValuePlaceHolder="type material name or code..."
+              onMaterialsSelect={handleMaterialsChange}
+              placeholder="type material name..."
               disabled={isSubmitting}
-              singleSelect={false}
-              className="w-full"
-              showInitialData={false}
+              showSelectedInTrigger={true}
             />
             <p className="text-xs text-gray-500 mt-1">
               {t('supplyItemsHint')}
-- 
cgit v1.2.3

