From 4f723058a7c8f91064395a43422c29cc4974703a Mon Sep 17 00:00:00 2001 From: dat Date: Thu, 13 Jul 2023 12:43:05 +0700 Subject: [PATCH 1/2] Onboarding - Experience page: fix show error for end date field --- .../onboarding/src/components/modal-add-education/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/onboarding/src/components/modal-add-education/index.tsx b/src/apps/onboarding/src/components/modal-add-education/index.tsx index 128776445..6f4fb18a8 100644 --- a/src/apps/onboarding/src/components/modal-add-education/index.tsx +++ b/src/apps/onboarding/src/components/modal-add-education/index.tsx @@ -133,6 +133,8 @@ const ModalAddEducation: FC = (props: ModalAddEducationP ), }) }} + dirty + error={formErrors.endDate} name='endDate' label='End Year or Expected' placeholder='Select year' From 7a160dff72f977ef434f52e9381fd4134d2cca25 Mon Sep 17 00:00:00 2001 From: dat Date: Thu, 13 Jul 2023 12:45:06 +0700 Subject: [PATCH 2/2] show reqyired --- .../onboarding/src/components/modal-add-education/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/onboarding/src/components/modal-add-education/index.tsx b/src/apps/onboarding/src/components/modal-add-education/index.tsx index 6f4fb18a8..0e870f8d4 100644 --- a/src/apps/onboarding/src/components/modal-add-education/index.tsx +++ b/src/apps/onboarding/src/components/modal-add-education/index.tsx @@ -136,7 +136,7 @@ const ModalAddEducation: FC = (props: ModalAddEducationP dirty error={formErrors.endDate} name='endDate' - label='End Year or Expected' + label='End Year or Expected *' placeholder='Select year' />