@@ -22,7 +22,7 @@ import {
22
22
import { withMethodExposing , refMethods } from "../../generators/withMethodExposing" ;
23
23
import { styleControl } from "comps/controls/styleControl" ;
24
24
import styled from "styled-components" ;
25
- import { InputLikeStyle , InputLikeStyleType , LabelStyle } from "comps/controls/styleControlConstants" ;
25
+ import { ComponentStyle , InputLikeStyle , InputLikeStyleType , LabelStyle } from "comps/controls/styleControlConstants" ;
26
26
import { TextArea } from "components/TextArea" ;
27
27
import {
28
28
allowClearPropertyView ,
@@ -72,12 +72,14 @@ let TextAreaTmpComp = (function () {
72
72
allowClear : BoolControl ,
73
73
autoHeight : withDefault ( AutoHeightControl , "fixed" ) ,
74
74
style : styleControl ( InputLikeStyle ) ,
75
- labelStyle : styleControl ( LabelStyle )
75
+ labelStyle : styleControl ( LabelStyle ) ,
76
+ field : styleControl ( ComponentStyle )
76
77
} ;
77
78
return new UICompBuilder ( childrenMap , ( props ) => {
78
79
const [ inputProps , validateState ] = useTextInputProps ( props ) ;
79
80
return props . label ( {
80
81
required : props . required ,
82
+ field :props . field ,
81
83
children : (
82
84
< Wrapper $style = { props . style } >
83
85
< TextAreaStyled
@@ -120,6 +122,7 @@ let TextAreaTmpComp = (function () {
120
122
< >
121
123
< Section name = { sectionNames . style } > { children . style . getPropertyView ( ) } </ Section >
122
124
< Section name = { sectionNames . labelStyle } > { children . labelStyle . getPropertyView ( ) } </ Section >
125
+ < Section name = { sectionNames . field } > { children . field . getPropertyView ( ) } </ Section >
123
126
</ >
124
127
) }
125
128
</ >
0 commit comments