|
@@ -548,7 +548,7 @@ export const EditableCell = (props: EditableCellProps) => {
|
|
|
{edit ? (
|
|
|
colDesc.type?.startsWith("bool") ? (
|
|
|
<Box sx={cellBoxSx}>
|
|
|
- lightBool ? (
|
|
|
+ {useCheckbox ? (
|
|
|
<input
|
|
|
type="checkbox"
|
|
|
checked={val as boolean}
|
|
@@ -568,7 +568,7 @@ export const EditableCell = (props: EditableCellProps) => {
|
|
|
inputRef={setInputFocus}
|
|
|
className={getSuffixedClassNames(tableClassName, "-bool")}
|
|
|
/>
|
|
|
- )
|
|
|
+ )}
|
|
|
<Box sx={iconsWrapperSx}>
|
|
|
<IconButton onClick={onCheckClick} size="small" sx={iconInRowSx}>
|
|
|
<CheckIcon fontSize="inherit" />
|
|
@@ -724,6 +724,7 @@ export const EditableCell = (props: EditableCellProps) => {
|
|
|
checked={value as boolean}
|
|
|
title={boolTitle}
|
|
|
style={defaultCursor}
|
|
|
+ readOnly
|
|
|
className={getSuffixedClassNames(tableClassName, "-bool")}
|
|
|
/>
|
|
|
) : (
|