From 6e4fcace16917c3908a67f83797b937b85766a61 Mon Sep 17 00:00:00 2001 From: daileytj Date: Tue, 28 Nov 2023 14:00:00 -0500 Subject: [PATCH] Fix validation --- .../OrganizationDetailsScreen/OrganizationDetailsScreenBase.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login-workflow/src/screens/OrganizationDetailsScreen/OrganizationDetailsScreenBase.tsx b/login-workflow/src/screens/OrganizationDetailsScreen/OrganizationDetailsScreenBase.tsx index 1735ad5e..5b184cd1 100644 --- a/login-workflow/src/screens/OrganizationDetailsScreen/OrganizationDetailsScreenBase.tsx +++ b/login-workflow/src/screens/OrganizationDetailsScreen/OrganizationDetailsScreenBase.tsx @@ -440,7 +440,7 @@ export const OrganizationDetailsScreenBase: React.FC { - if (e.key === 'Enter' && isFormValid && actionsProps.canGoNext) + if (e.key === 'Enter' && isFormValid() && actionsProps.canGoNext) actionsProps.onNext?.(); }} onBlur={(): void => {