From 2495cd4cb8eef5019d10dd2e993c147056bab471 Mon Sep 17 00:00:00 2001 From: estifanos Date: Mon, 10 Aug 2026 12:19:04 +0000 Subject: [PATCH] fixes --- .../licensing/components/ConfigDrivenSection.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx b/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx index 8e8620bbc..9b8a89c52 100644 --- a/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx +++ b/apps/portal/src/app/features/licensing/components/ConfigDrivenSection.tsx @@ -11,6 +11,7 @@ import { localized, type FormSectionConfig, } from '@ema-platform/api'; +import { CountrySelect } from '@ema-platform/ui'; interface Props { section: FormSectionConfig; @@ -58,10 +59,19 @@ export function ConfigDrivenSection({ disabled: disabled || field.readOnly, }; const span = field.type === 'TEXTAREA' ? 12 : 6; + // Same field the profile Address tab collects — give it the same + // searchable, flag-labeled picker instead of a plain option list. + const isNationality = field.key === 'nationality' || label.toLowerCase().includes('nationality'); return ( - {field.type === 'SELECT' ? ( + {isNationality ? ( + onChange(field.key, v)} + /> + ) : field.type === 'SELECT' ? (