diff --git a/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx b/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx index 15c658b79..52e3cebc5 100644 --- a/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx +++ b/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx @@ -14,7 +14,7 @@ import { type FormSectionConfig, type Vessel, } from '@ema-platform/api'; -import { AmharicDatePicker, CountrySelect } from '@ema-platform/ui'; +import { AmharicDatePicker, CountrySelect, PhoneInput } from '@ema-platform/ui'; import { useTranslation } from 'react-i18next'; import { LocationPicker } from '../../location/components/LocationPicker'; @@ -223,6 +223,12 @@ export function ConfigDrivenSection({ value={(value as string) ?? ''} onChange={(v) => onChange(field.key, v)} /> + ) : field.type === 'PHONE' ? ( + onChange(field.key, v)} + /> ) : field.type === 'TEXTAREA' ? (