Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx

Terry Suttonffab323ded10
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 (
<Listbox