diff options
| author | joonhoekim <26rote@gmail.com> | 2025-10-27 19:53:08 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-10-27 19:53:08 +0900 |
| commit | 7e161e6ef81b2798aa91c8e705ec9e968675079a (patch) | |
| tree | a5b461005a2dca80cb900a0d70654225b7794f57 /components/signup | |
| parent | 2d7c41263ee4fda0285397905884e20dec5d8a1f (diff) | |
(김준회) 자재그룹 선택기에서 코드를 보여주지 않는 선택기 추가개발, 회원가입시 사용하도록 변경 *박성형프로요청
Diffstat (limited to 'components/signup')
| -rw-r--r-- | components/signup/join-form.tsx | 13 |
1 files changed, 5 insertions, 8 deletions
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')} |
