Skip to content

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

Add null placeholder to RowEditor foreign key input field (#32744)

Joshen Limef2ba4a1fc63
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx
index 6305af0fd15..54024583553 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx
@@ -21,7 +21,6 @@ import { DATETIME_TYPES, JSON_TYPES, TEXT_TYPES } from '../SidePanelEditor.const
import { DateTimeInput } from './DateTimeInput'
import type { EditValue, RowField } from './RowEditor.types'
import { isValueTruncated } from './RowEditor.utils'
-import { checkDomainOfScale } from 'recharts/types/util/ChartUtils'
export interface InputFieldProps {
field: RowField
@@ -98,6 +97,7 @@ const InputField = ({
<Input
data-testid={`${field.name}-input`}
layout="horizontal"
+ placeholder="NULL"
label={field.name}
value={field.value ?? ''}
descriptionText={