@@ -30,7 +30,7 @@ import { formDataChildren, FormDataPropertyView } from "../formComp/formDataCons
3030import { withMethodExposing , refMethods } from "../../generators/withMethodExposing" ;
3131import { RefControl } from "../../controls/refControl" ;
3232import { 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" ;
3434import {
3535 disabledPropertyView ,
3636 hiddenPropertyView ,
@@ -260,7 +260,7 @@ const childrenMap = {
260260 style : styleControl ( InputLikeStyle ) ,
261261 labelStyle :styleControl ( LabelStyle ) ,
262262 prefixIcon : IconControl ,
263-
263+ field : styleControl ( ComponentStyle ) ,
264264 // validation
265265 required : BoolControl ,
266266 min : UndefinedNumberControl ,
@@ -381,7 +381,8 @@ let NumberInputTmpComp = (function () {
381381 required : props . required ,
382382 children : < CustomInputNumber { ...props } /> ,
383383 style : props . style ,
384- labelStyle :props . labelStyle ,
384+ labelStyle : props . labelStyle ,
385+ field :props . field ,
385386 ...validate ( props ) ,
386387 } ) ;
387388 } )
@@ -436,6 +437,9 @@ let NumberInputTmpComp = (function () {
436437 < Section name = { sectionNames . labelStyle } >
437438 { children . labelStyle . getPropertyView ( ) }
438439 </ Section >
440+ < Section name = { sectionNames . field } >
441+ { children . field . getPropertyView ( ) }
442+ </ Section >
439443 </ >
440444 ) }
441445 </ >
0 commit comments