diff options
Diffstat (limited to 'components/signup/join-form.tsx')
| -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')} |
