From ffab323ded10d3306e35c79ff497f1117e101809 Mon Sep 17 00:00:00 2001 From: Terry Sutton Date: Tue, 12 Sep 2023 15:30:33 -0230 Subject: [PATCH] Update studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx --- .../TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx index 42b55172d31..ddecb240dce 100644 --- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx +++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx @@ -202,7 +202,7 @@ const InputField = ({ ...(field.isNullable ? [{ value: 'null', label: 'NULL' }] : []), ] - const defaultValue = field.defaultValue === null ? 'null' : field.defaultValue +const defaultValue = field.defaultValue !== null ? field.defaultValue : 'null' return (