diff --git a/airbyte-webapp/src/components/connectorBuilder/Builder/BuilderField.tsx b/airbyte-webapp/src/components/connectorBuilder/Builder/BuilderField.tsx index 0e2a0f863ac5..497523e3a9b0 100644 --- a/airbyte-webapp/src/components/connectorBuilder/Builder/BuilderField.tsx +++ b/airbyte-webapp/src/components/connectorBuilder/Builder/BuilderField.tsx @@ -149,7 +149,8 @@ const InnerBuilderField: React.FC> = export const BuilderField: React.FC = (props) => { return ( - + // The key is set to enforce a re-render of the component if the type change, otherwise changes in props might not be reflected correctly + {({ field, form, meta }: FastFieldProps) => ( )} diff --git a/airbyte-webapp/src/components/connectorBuilder/Builder/InputsForm.tsx b/airbyte-webapp/src/components/connectorBuilder/Builder/InputsForm.tsx index 33f0e94a1ca6..2ab7c5415aa7 100644 --- a/airbyte-webapp/src/components/connectorBuilder/Builder/InputsForm.tsx +++ b/airbyte-webapp/src/components/connectorBuilder/Builder/InputsForm.tsx @@ -242,13 +242,6 @@ const InputModal = ({ label={formatMessage({ id: "connectorBuilder.inputModal.default" })} /> )} - ) : (