appspace / appspace/helix

Insert Row modal: tinyint(1) boolean fields should be a checkbox or toggle, not a text input

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
3h 8m
Merged PRs (30d)
6

Description

## Problem
In the "Insert row" modal, `tinyint(1)` columns (which represent boolean values) are rendered as plain text inputs instead of checkboxes or toggles.

## Current state
- `is_verified tinyint(1)` — plain text input with placeholder "default: 0"
- `is_premium tinyint(1)` — plain text input with placeholder "NULL"

Users must type `0` or `1` manually, which is error-prone and confusing.

## Expected behaviour
`tinyint(1)` columns should render as a checkbox or toggle switch. This:
- Clearly communicates the boolean nature of the field
- Prevents invalid values
- Is consistent with how these values are displayed in the results grid (as `true`/`false`)

## Note
The results grid already displays `tinyint(1)` values as `true`/`false` — the insert form should be consistent with that representation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.