From 4251dfe7e5a58d36223f499ee9df2f19a85e21ca Mon Sep 17 00:00:00 2001 From: "Krishna (kc) Glick" Date: Wed, 4 Jan 2023 13:16:23 -0500 Subject: [PATCH] Properly triggers a change to the form values object so Formik knows it's dirty (#21021) --- .../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 0a26f83a2789..90e18f17ea9f 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, }); }