From 41a5e96d6b5ada4ffeb0c4f0c02299648a67dc0c Mon Sep 17 00:00:00 2001 From: estifanos Date: Tue, 11 Aug 2026 09:59:17 +0000 Subject: [PATCH] feat: integrate AmharicDatePicker for date input in ConfigDrivenSection --- .../licensing/components/ConfigDrivenSection.tsx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx b/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx index c036a86fc..d5814f2a3 100644 --- a/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx +++ b/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx @@ -13,7 +13,7 @@ import { type FormSectionConfig, type Vessel, } from '@ema-platform/api'; -import { CountrySelect } from '@ema-platform/ui'; +import { AmharicDatePicker, CountrySelect } from '@ema-platform/ui'; interface Props { section: FormSectionConfig; @@ -197,11 +197,16 @@ export function ConfigDrivenSection({ thousandSeparator={field.type === 'MONEY' ? ',' : undefined} /> ) : field.type === 'DATE' ? ( - onChange(field.key, e.currentTarget.value)} + onChange={(v) => onChange(field.key, v)} /> ) : field.type === 'TEXTAREA' ? (