@@ -30,7 +30,7 @@ import { formDataChildren, FormDataPropertyView } from "../formComp/formDataCons
30
30
import { withMethodExposing , refMethods } from "../../generators/withMethodExposing" ;
31
31
import { RefControl } from "../../controls/refControl" ;
32
32
import { styleControl } from "comps/controls/styleControl" ;
33
- import { InputLikeStyle , InputLikeStyleType , LabelStyle , heightCalculator , widthCalculator } from "comps/controls/styleControlConstants" ;
33
+ import { ComponentStyle , InputLikeStyle , InputLikeStyleType , LabelStyle , heightCalculator , widthCalculator } from "comps/controls/styleControlConstants" ;
34
34
import {
35
35
disabledPropertyView ,
36
36
hiddenPropertyView ,
@@ -260,7 +260,7 @@ const childrenMap = {
260
260
style : styleControl ( InputLikeStyle ) ,
261
261
labelStyle :styleControl ( LabelStyle ) ,
262
262
prefixIcon : IconControl ,
263
-
263
+ field : styleControl ( ComponentStyle ) ,
264
264
// validation
265
265
required : BoolControl ,
266
266
min : UndefinedNumberControl ,
@@ -381,7 +381,8 @@ let NumberInputTmpComp = (function () {
381
381
required : props . required ,
382
382
children : < CustomInputNumber { ...props } /> ,
383
383
style : props . style ,
384
- labelStyle :props . labelStyle ,
384
+ labelStyle : props . labelStyle ,
385
+ field :props . field ,
385
386
...validate ( props ) ,
386
387
} ) ;
387
388
} )
@@ -436,6 +437,9 @@ let NumberInputTmpComp = (function () {
436
437
< Section name = { sectionNames . labelStyle } >
437
438
{ children . labelStyle . getPropertyView ( ) }
438
439
</ Section >
440
+ < Section name = { sectionNames . field } >
441
+ { children . field . getPropertyView ( ) }
442
+ </ Section >
439
443
</ >
440
444
) }
441
445
</ >
0 commit comments