Skip to content

Commit 12d5ff4

Browse files
committed
field style added to multi select
1 parent 0297f46 commit 12d5ff4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/packages/lowcoder/src/comps/comps/selectInputComp/multiSelectComp.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { styleControl } from "comps/controls/styleControl";
2-
import { LabelStyle, MultiSelectStyle } from "comps/controls/styleControlConstants";
2+
import { ComponentStyle, LabelStyle, MultiSelectStyle } from "comps/controls/styleControlConstants";
33
import { trans } from "i18n";
44
import { arrayStringExposingStateControl } from "../../controls/codeStateControl";
55
import { UICompBuilder } from "../../generators";
@@ -24,6 +24,7 @@ let MultiSelectBasicComp = (function () {
2424
value: arrayStringExposingStateControl("value"),
2525
style: styleControl(MultiSelectStyle),
2626
labelStyle:styleControl(LabelStyle),
27+
field:styleControl(ComponentStyle),
2728
margin: MarginControl,
2829
padding: PaddingControl,
2930
};
@@ -37,7 +38,8 @@ let MultiSelectBasicComp = (function () {
3738
return props.label({
3839
required: props.required,
3940
style: props.style,
40-
labelStyle:props.labelStyle,
41+
labelStyle: props.labelStyle,
42+
field:props.field,
4143
children: (
4244
<SelectUIView
4345
{...props}

0 commit comments

Comments
 (0)