Describe the bug
Bug Description
When querying a table with a native PostgreSQL JSONB column, the values are correctly rendered as string strings in the main data grid. However, selecting a row and checking the right-hand "Edit Row" detail panel shows the literal string [object Object] instead of the formatted JSON string or passing it directly to the Monaco editor.
Expected Behavior
The text field inside the right-hand panel should safely stringify the Javascript object payload returned by the Postgres driver via JSON.stringify(value, null, 2) so that it prints as valid readable JSON text.
Proposed Fix
This layout mismatch happens because the frontend input renderer loops over data cells without checking if typeof value === 'object'. Adding a basic type check format helper before rendering values in the sidebar text-area inputs will prevent this default string coercion.
To Reproduce
Steps to Reproduce
- Connect to any PostgreSQL database instance containing a
JSONB type column.
- Run a query For selecting a Jsonb column.
- Click on a row to open the right-hand "Edit Row" drawer menu.
- Observe that the field containing the JSON object parses to
[object Object].
OS Version
macOS 26.2 (25C56)
Tabularis Version
v0.13.4
Relevant Log Output
Describe the bug
Bug Description
When querying a table with a native PostgreSQL
JSONBcolumn, the values are correctly rendered as string strings in the main data grid. However, selecting a row and checking the right-hand "Edit Row" detail panel shows the literal string[object Object]instead of the formatted JSON string or passing it directly to the Monaco editor.Expected Behavior
The text field inside the right-hand panel should safely stringify the Javascript object payload returned by the Postgres driver via
JSON.stringify(value, null, 2)so that it prints as valid readable JSON text.Proposed Fix
This layout mismatch happens because the frontend input renderer loops over data cells without checking if
typeof value === 'object'. Adding a basic type check format helper before rendering values in the sidebar text-area inputs will prevent this default string coercion.To Reproduce
Steps to Reproduce
JSONBtype column.[object Object].OS Version
macOS 26.2 (25C56)
Tabularis Version
v0.13.4
Relevant Log Output