File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
client/packages/lowcoder/src/comps/comps Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ import {
11
11
LabelStyle ,
12
12
SignatureStyleType ,
13
13
widthCalculator ,
14
- heightCalculator
14
+ heightCalculator ,
15
+ ComponentStyle
15
16
} from "comps/controls/styleControlConstants" ;
16
17
import { stateComp , withDefault } from "comps/generators/simpleGenerators" ;
17
18
import { hiddenPropertyView } from "comps/utils/propertyUtils" ;
@@ -103,7 +104,7 @@ const childrenMap = {
103
104
showUndo : withDefault ( BoolControl , true ) ,
104
105
showClear : withDefault ( BoolControl , true ) ,
105
106
value : stateComp ( "" ) ,
106
-
107
+ field : styleControl ( ComponentStyle ) ,
107
108
...formDataChildren ,
108
109
} ;
109
110
@@ -128,7 +129,8 @@ let SignatureTmpComp = (function () {
128
129
} ;
129
130
return props . label ( {
130
131
style : props . style ,
131
- labelStyle :props . labelStyle ,
132
+ labelStyle : props . labelStyle ,
133
+ field :props . field ,
132
134
children : (
133
135
< ReactResizeDetector
134
136
onResize = { ( width , height ) => {
@@ -228,6 +230,9 @@ let SignatureTmpComp = (function () {
228
230
< Section name = { sectionNames . labelStyle } >
229
231
{ children . labelStyle . getPropertyView ( ) }
230
232
</ Section >
233
+ < Section name = { sectionNames . field } >
234
+ { children . field . getPropertyView ( ) }
235
+ </ Section >
231
236
</ >
232
237
) }
233
238
</ >
You can’t perform that action at this time.
0 commit comments