From 7033b1ea881340775470a86e5c5b98e0d0a9d4a1 Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Mon, 2 Jan 2023 17:30:15 +0100 Subject: [PATCH] render input as number for type number (#20637) --- .../Connector/ConnectorForm/components/Property/Control.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-webapp/src/views/Connector/ConnectorForm/components/Property/Control.tsx b/airbyte-webapp/src/views/Connector/ConnectorForm/components/Property/Control.tsx index a6b9c1d1c396..ba147eab8972 100644 --- a/airbyte-webapp/src/views/Connector/ConnectorForm/components/Property/Control.tsx +++ b/airbyte-webapp/src/views/Connector/ConnectorForm/components/Property/Control.tsx @@ -106,7 +106,7 @@ export const Control: React.FC = ({ property, name, disabled, erro /> ); } - const inputType = property.type === "integer" ? "number" : "text"; + const inputType = property.type === "integer" || property.type === "number" ? "number" : "text"; return (