Skip to content

Commit

Permalink
Fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
daileytj committed Nov 28, 2023
1 parent 744b93a commit 6e4fcac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export const OrganizationDetailsScreenBase: React.FC<OrganizationDetailsScreenPr
helperText={shouldValidateCountry && countryError}
{...countryTextFieldProps}
onKeyUp={(e): void => {
if (e.key === 'Enter' && isFormValid && actionsProps.canGoNext)
if (e.key === 'Enter' && isFormValid() && actionsProps.canGoNext)
actionsProps.onNext?.();
}}
onBlur={(): void => {
Expand Down

0 comments on commit 6e4fcac

Please sign in to comment.