From 72e2be370b764322669d76914a38300b217dfcd0 Mon Sep 17 00:00:00 2001 From: ibolton336 Date: Thu, 28 Sep 2023 15:06:02 -0400 Subject: [PATCH] :bug: String value breaking schema validation for repo type --- .../pages/applications/analysis-wizard/analysis-wizard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx b/client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx index dd85595c0a..2b05dcde5c 100644 --- a/client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx +++ b/client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx @@ -172,7 +172,7 @@ export const AnalysisWizard: React.FC = ({ hasExcludedPackages: false, associatedCredentials: "", rulesKind: "manual", - repositoryType: "", + repositoryType: undefined, sourceRepository: "", branch: "", rootPath: "", @@ -389,7 +389,7 @@ export const AnalysisWizard: React.FC = ({ , ]; - + console.log("values errors", values, methods.formState.errors); return ( <> {isOpen && (