@@ -22,7 +22,7 @@ import {
2222import { withMethodExposing , refMethods } from "../../generators/withMethodExposing" ;
2323import { styleControl } from "comps/controls/styleControl" ;
2424import styled from "styled-components" ;
25- import { InputLikeStyle , InputLikeStyleType , LabelStyle } from "comps/controls/styleControlConstants" ;
25+ import { ComponentStyle , InputLikeStyle , InputLikeStyleType , LabelStyle } from "comps/controls/styleControlConstants" ;
2626import { TextArea } from "components/TextArea" ;
2727import {
2828 allowClearPropertyView ,
@@ -72,12 +72,14 @@ let TextAreaTmpComp = (function () {
7272 allowClear : BoolControl ,
7373 autoHeight : withDefault ( AutoHeightControl , "fixed" ) ,
7474 style : styleControl ( InputLikeStyle ) ,
75- labelStyle : styleControl ( LabelStyle )
75+ labelStyle : styleControl ( LabelStyle ) ,
76+ field : styleControl ( ComponentStyle )
7677 } ;
7778 return new UICompBuilder ( childrenMap , ( props ) => {
7879 const [ inputProps , validateState ] = useTextInputProps ( props ) ;
7980 return props . label ( {
8081 required : props . required ,
82+ field :props . field ,
8183 children : (
8284 < Wrapper $style = { props . style } >
8385 < TextAreaStyled
@@ -120,6 +122,7 @@ let TextAreaTmpComp = (function () {
120122 < >
121123 < Section name = { sectionNames . style } > { children . style . getPropertyView ( ) } </ Section >
122124 < Section name = { sectionNames . labelStyle } > { children . labelStyle . getPropertyView ( ) } </ Section >
125+ < Section name = { sectionNames . field } > { children . field . getPropertyView ( ) } </ Section >
123126 </ >
124127 ) }
125128 </ >
0 commit comments