Skip to content

Commit f7ba1b8

Browse files
committed
Updated Boolean toggle with Boolean Code Control
1 parent e359961 commit f7ba1b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/packages/lowcoder/src/comps/controls/optionsControl.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import {
3030
Option,
3131
WidthIcon,
3232
ImageCompIcon,
33+
CloseEyeIcon,
3334
} from "lowcoder-design";
3435
import styled from "styled-components";
3536
import { lastValueIfEqual } from "util/objectUtils";
@@ -588,7 +589,7 @@ const ColumnOption = new MultiCompBuilder(
588589
radius: withDefault(RadiusControl, ""),
589590
margin: withDefault(StringControl, ""),
590591
padding: withDefault(StringControl, ""),
591-
hidden: withDefault(BoolControl, false),
592+
hidden: withDefault(BoolCodeControl, false),
592593
},
593594
(props) => props
594595
)
@@ -627,6 +628,7 @@ const ColumnOption = new MultiCompBuilder(
627628
})}
628629
{children.hidden.propertyView({
629630
label: trans('style.hideColumn'),
631+
preInputNode: <StyledIcon as={CloseEyeIcon} title="" />
630632
})}
631633
</StyledContent>
632634
))

0 commit comments

Comments
 (0)