File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
client/packages/lowcoder/src/comps/comps/selectInputComp Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ let CascaderBasicComp = (function () {
21
21
return new UICompBuilder ( childrenMap , ( props ) => {
22
22
return props . label ( {
23
23
style : props . style ,
24
- labelStyle :props . labelStyle ,
24
+ labelStyle : props . labelStyle ,
25
+ field :props . field ,
25
26
children : (
26
27
< CascaderStyle
27
28
ref = { props . viewRef }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { arrayStringExposingStateControl } from "comps/controls/codeStateControl
6
6
import { BoolControl } from "comps/controls/boolControl" ;
7
7
import { LabelControl } from "comps/controls/labelControl" ;
8
8
import { styleControl } from "comps/controls/styleControl" ;
9
- import { CascaderStyle , LabelStyle } from "comps/controls/styleControlConstants" ;
9
+ import { CascaderStyle , ComponentStyle , LabelStyle } from "comps/controls/styleControlConstants" ;
10
10
import {
11
11
allowClearPropertyView ,
12
12
disabledPropertyView ,
@@ -40,6 +40,7 @@ export const CascaderChildren = {
40
40
viewRef : RefControl < CascaderRef > ,
41
41
margin : MarginControl ,
42
42
padding : PaddingControl ,
43
+ field :styleControl ( ComponentStyle )
43
44
} ;
44
45
45
46
export const CascaderPropertyView = (
@@ -79,6 +80,9 @@ export const CascaderPropertyView = (
79
80
< Section name = { sectionNames . labelStyle } >
80
81
{ children . labelStyle . getPropertyView ( ) }
81
82
</ Section >
83
+ < Section name = { sectionNames . field } >
84
+ { children . field . getPropertyView ( ) }
85
+ </ Section >
82
86
</ >
83
87
) }
84
88
</ >
You can’t perform that action at this time.
0 commit comments