fix(studio): boolean editor in table editor (#40947)

This commit is contained in:
Alaister Young authored and GitHub committed 2025-12-01 12:18:19 +00:00
1 parent 065e35fd83
commit 4804642b18
1 file changed
+1 -1
@@ -32,7 +32,7 @@ export const BooleanEditor = <TRow, TSummaryRow = unknown>({
size="small"
onBlur={onBlur}
onChange={onChange}
defaultValue={!!value ? value.toString() : 'null'}
defaultValue={value === null || value === undefined ? 'null' : value.toString()}
style={{ width: `${column.width}px` }}
>
<Select.Option value="true">TRUE</Select.Option>