From c6210b773f971bfe2f6016f3554b2f5ff4aac3e2 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 7 Mar 2024 10:04:38 +0100 Subject: [PATCH] added better default value (#27594) fixes: #27548 Signed-off-by: Erik Jan de Wit --- js/apps/admin-ui/src/authentication/form/CreateFlow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/apps/admin-ui/src/authentication/form/CreateFlow.tsx b/js/apps/admin-ui/src/authentication/form/CreateFlow.tsx index 798d142ca1..3c632f7650 100644 --- a/js/apps/admin-ui/src/authentication/form/CreateFlow.tsx +++ b/js/apps/admin-ui/src/authentication/form/CreateFlow.tsx @@ -69,7 +69,7 @@ export default function CreateFlow() { label={t("flowType")} labelIcon={t("topLevelFlowTypeHelp")} aria-label={t("selectFlowType")} - controller={{ defaultValue: "" }} + controller={{ defaultValue: TYPES[0] }} options={TYPES.map((type) => ({ key: type, value: t(`top-level-flow-type.${type}`),