Checkbox Not Rendering for Boolean ValueType in Editable Table Column
When setting the valueType for an editable table column to checkbox and using a boolean value, the checkbox is not rendered. There is no checkbox element visible in the DOM.
currently I am using
"@ant-design/pro-table": "^3.16.1",
Steps to Reproduce
Configure an editable column in Ant Design Pro Table with valueType: 'checkbox'.
Assign a boolean value to this column.
Observe the rendered table cell for the checkbox.
Expected Behavior
A checkbox should appear in the cell, corresponding to the boolean value.
Actual Behavior
No checkbox is rendered. Additionally, inspecting the DOM reveals no checkbox-related node.
{
title: 'ID',
dataIndex: 'id',
valueType: 'checkbox',
editable: true,
render: (...params) => {
console.log(params);
// Should log details about the checkbox rendering
},
}
Checkbox Not Rendering for Boolean ValueType in Editable Table Column
When setting the
valueType
for an editable table column to checkbox and using a boolean value, the checkbox is not rendered. There is no checkbox element visible in the DOM.currently I am using
Steps to Reproduce
valueType: 'checkbox'
.Expected Behavior
A checkbox should appear in the cell, corresponding to the boolean value.
Actual Behavior
No checkbox is rendered. Additionally, inspecting the DOM reveals no checkbox-related node.
{ title: 'ID', dataIndex: 'id', valueType: 'checkbox', editable: true, render: (...params) => { console.log(params); // Should log details about the checkbox rendering }, }
Console output of the render function:
DOM inspection showing no checkbox: