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 {
1111 LabelStyle ,
1212 SignatureStyleType ,
1313 widthCalculator ,
14- heightCalculator
14+ heightCalculator ,
15+ ComponentStyle
1516} from "comps/controls/styleControlConstants" ;
1617import { stateComp , withDefault } from "comps/generators/simpleGenerators" ;
1718import { hiddenPropertyView } from "comps/utils/propertyUtils" ;
@@ -103,7 +104,7 @@ const childrenMap = {
103104 showUndo : withDefault ( BoolControl , true ) ,
104105 showClear : withDefault ( BoolControl , true ) ,
105106 value : stateComp ( "" ) ,
106-
107+ field : styleControl ( ComponentStyle ) ,
107108 ...formDataChildren ,
108109} ;
109110
@@ -128,7 +129,8 @@ let SignatureTmpComp = (function () {
128129 } ;
129130 return props . label ( {
130131 style : props . style ,
131- labelStyle :props . labelStyle ,
132+ labelStyle : props . labelStyle ,
133+ field :props . field ,
132134 children : (
133135 < ReactResizeDetector
134136 onResize = { ( width , height ) => {
@@ -228,6 +230,9 @@ let SignatureTmpComp = (function () {
228230 < Section name = { sectionNames . labelStyle } >
229231 { children . labelStyle . getPropertyView ( ) }
230232 </ Section >
233+ < Section name = { sectionNames . field } >
234+ { children . field . getPropertyView ( ) }
235+ </ Section >
231236 </ >
232237 ) }
233238 </ >
You can’t perform that action at this time.
0 commit comments