Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2024-10-24 05:08:28 +00:00
commit 024c393216

View File

@ -37,7 +37,7 @@ const ReadPretty: FC<CheckboxReadPrettyProps> = (props) => {
if (props.value) { if (props.value) {
return <CheckOutlined style={{ color: '#52c41a' }} />; return <CheckOutlined style={{ color: '#52c41a' }} />;
} }
return props.showUnchecked ? <CloseOutlined style={{ color: '#ff4d4f' }} /> : null; return props.showUnchecked ? <CloseOutlined style={{ color: '#ff4d4f' }} /> : <AntdCheckbox disabled />;
}; };
export const Checkbox: ComposedCheckbox = connect( export const Checkbox: ComposedCheckbox = connect(