Skip to content

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

Leave numerical values as string in RowEditor when formatting query to work around js integer range limits

Joshen Limf74d40cb8726
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
index 81826dcbf9b..fb93bd3f0e6 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
@@ -283,8 +283,6 @@ export const generateRowObjectFromFields = (
rowObject[field.name] = tryParseJson(value)
}
}
- } else if (NUMERICAL_TYPES.includes(field.format) && value) {
- rowObject[field.name] = Number(value)
} else if (field.format === 'bool' && value) {
rowObject[field.name] = value === 'true'
} else if (DATETIME_TYPES.includes(field.format)) {