From ded7503882ba04d6fc810ef68e42414c8b3ac2e0 Mon Sep 17 00:00:00 2001 From: Vineet Sharma Date: Thu, 27 Jul 2023 12:27:06 +0530 Subject: [PATCH] Allow address field translation on frontend when using combo input --- .../field/address/address-hierarchy-levels.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/esm-patient-registration-app/src/patient-registration/field/address/address-hierarchy-levels.component.tsx b/packages/esm-patient-registration-app/src/patient-registration/field/address/address-hierarchy-levels.component.tsx index 4c8bf7b55..bc627d0ec 100644 --- a/packages/esm-patient-registration-app/src/patient-registration/field/address/address-hierarchy-levels.component.tsx +++ b/packages/esm-patient-registration-app/src/patient-registration/field/address/address-hierarchy-levels.component.tsx @@ -62,7 +62,7 @@ const AddressComboBox: React.FC = ({ attribute }) => { fieldProps={{ ...field, id: attribute.name, - labelText: `${attribute.label} (${t('optional', 'optional')})`, + labelText: `${t(attribute.label)} (${t('optional', 'optional')})`, }} handleInputChange={handleInputChange} />