diff --git a/apps/dashboard/src/components/engine/configuration/cors.tsx b/apps/dashboard/src/components/engine/configuration/cors.tsx index 330b3142a25..56eaebfb1fb 100644 --- a/apps/dashboard/src/components/engine/configuration/cors.tsx +++ b/apps/dashboard/src/components/engine/configuration/cors.tsx @@ -29,7 +29,7 @@ export const EngineCorsConfig: React.FC = ({ ); const form = useForm({ - defaultValues: { raw: existingUrls?.join("\n") ?? "" }, + values: { raw: existingUrls?.join("\n") ?? "" }, }); const onSubmit = async (data: CorsForm) => { diff --git a/apps/dashboard/src/components/engine/configuration/ip-allowlist.tsx b/apps/dashboard/src/components/engine/configuration/ip-allowlist.tsx index 632ffcca19f..6d27612a06b 100644 --- a/apps/dashboard/src/components/engine/configuration/ip-allowlist.tsx +++ b/apps/dashboard/src/components/engine/configuration/ip-allowlist.tsx @@ -34,7 +34,7 @@ export const EngineIpAllowlistConfig: React.FC< const { data: engineHealthInfo } = useEngineSystemHealth(instanceUrl); const form = useForm({ - defaultValues: { raw: existingIpAllowlist?.join("\n") ?? "" }, + values: { raw: existingIpAllowlist?.join("\n") ?? "" }, }); const onSubmit = async (data: IpForm) => {