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 (