mirror of
https://github.com/nocobase/nocobase
synced 2024-11-14 21:55:55 +00:00
fix: improve display of unchecked fields (#5503)
This commit is contained in:
parent
cdd34b027d
commit
e85e131ea8
@ -37,7 +37,7 @@ const ReadPretty: FC<CheckboxReadPrettyProps> = (props) => {
|
||||
if (props.value) {
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user