diff --git a/packages/console/src/pages/Applications/components/CreateForm/index.tsx b/packages/console/src/pages/Applications/components/CreateForm/index.tsx index c3913968d..9ca901078 100644 --- a/packages/console/src/pages/Applications/components/CreateForm/index.tsx +++ b/packages/console/src/pages/Applications/components/CreateForm/index.tsx @@ -48,7 +48,7 @@ function CreateForm({ defaultCreateType, defaultCreateFrameworkName, onClose }: control, register, formState: { errors, isSubmitting }, - } = useForm(); + } = useForm({ defaultValues: { type: defaultCreateType } }); const { field: { onChange, value, name, ref },