added better default value (#27594)

fixes: #27548

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-03-07 10:04:38 +01:00 committed by GitHub
parent 4feb776d3d
commit c6210b773f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}`),