From 2e22c85062624b503043b90c8a4ace4e7ee4adf0 Mon Sep 17 00:00:00 2001 From: puranban Date: Mon, 27 Nov 2023 14:06:44 +0545 Subject: [PATCH 1/2] Change date format in all dref related export module --- src/views/DrefApplicationExport/index.tsx | 3 +++ src/views/DrefFinalReportExport/index.tsx | 2 ++ src/views/DrefOperationalUpdateExport/index.tsx | 2 ++ 3 files changed, 7 insertions(+) diff --git a/src/views/DrefApplicationExport/index.tsx b/src/views/DrefApplicationExport/index.tsx index 5cb4ba79a..d74f23bb3 100644 --- a/src/views/DrefApplicationExport/index.tsx +++ b/src/views/DrefApplicationExport/index.tsx @@ -333,6 +333,7 @@ export function Component() { label={strings.operationStartDateLabel} value={drefResponse?.date_of_approval} valueType="date" + format="dd-MM-yyyy" strongValue /> diff --git a/src/views/DrefFinalReportExport/index.tsx b/src/views/DrefFinalReportExport/index.tsx index 793993a86..8f03b7588 100644 --- a/src/views/DrefFinalReportExport/index.tsx +++ b/src/views/DrefFinalReportExport/index.tsx @@ -299,6 +299,7 @@ export function Component() { label={strings.operationStartDateLabel} value={drefResponse?.operation_start_date} valueType="date" + format="dd-MM-yyyy" strongValue /> Date: Tue, 28 Nov 2023 10:31:03 +0545 Subject: [PATCH 2/2] Fix bullet points in new line in TextArea component --- src/components/TextArea/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TextArea/index.tsx b/src/components/TextArea/index.tsx index 01b3a1f67..a56125163 100644 --- a/src/components/TextArea/index.tsx +++ b/src/components/TextArea/index.tsx @@ -5,7 +5,7 @@ import InputContainer, { Props as InputContainerProps } from '../InputContainer' import RawTextArea, { Props as RawTextAreaProps } from '../RawTextArea'; const BULLET = '•'; -const KEY_ENTER = 'ENTER'; +const KEY_ENTER = 'Enter'; type InheritedProps = (Omit & Omit, 'type'>); export interface Props extends InheritedProps {