From 525fa9fdb0e89de20a6c1fefffa57ae65002eb5f Mon Sep 17 00:00:00 2001 From: KC Date: Wed, 4 Jan 2023 10:59:42 -0500 Subject: [PATCH] Properly triggers a change to the form values object so Formik knows it's dirty --- .../components/Sections/auth/useOauthFlowAdapter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-webapp/src/views/Connector/ConnectorForm/components/Sections/auth/useOauthFlowAdapter.tsx b/airbyte-webapp/src/views/Connector/ConnectorForm/components/Sections/auth/useOauthFlowAdapter.tsx index 0a26f83a27893..90e18f17ea9fe 100644 --- a/airbyte-webapp/src/views/Connector/ConnectorForm/components/Sections/auth/useOauthFlowAdapter.tsx +++ b/airbyte-webapp/src/views/Connector/ConnectorForm/components/Sections/auth/useOauthFlowAdapter.tsx @@ -41,7 +41,7 @@ function useFormikOauthAdapter(connector: ConnectorDefinitionSpecification): { values ); } else { - newValues = merge(values, { + newValues = merge({}, values, { connectionConfiguration: completeOauthResponse, }); }