diff --git a/apps/portal/src/app/features/licensing/pages/LicenseApplicationPage.tsx b/apps/portal/src/app/features/licensing/pages/LicenseApplicationPage.tsx index c459ed2a3..a4977caab 100644 --- a/apps/portal/src/app/features/licensing/pages/LicenseApplicationPage.tsx +++ b/apps/portal/src/app/features/licensing/pages/LicenseApplicationPage.tsx @@ -140,12 +140,12 @@ export function LicenseApplicationPage() { }; if (address.nationality) { - // Profile stores the full country name; a SELECT field's options - // follow the CountrySelect convention of alpha-2 codes. + // Profile stores the full country name; the field always renders as + // a CountrySelect (see ConfigDrivenSection), which takes alpha-2 + // codes regardless of the backend's configured field type. fill( (label, key) => key === 'nationality' || label.includes('nationality'), - (field) => - field.type === 'SELECT' ? (getCountryCode(address.nationality) ?? address.nationality) : address.nationality, + () => getCountryCode(address.nationality) ?? address.nationality, ); } if (address.idType === 'NID' && address.idNumber) {