@@ -26,7 +26,7 @@ import {
26
26
import { withMethodExposing } from "../../generators/withMethodExposing" ;
27
27
import { styleControl } from "comps/controls/styleControl" ;
28
28
import styled from "styled-components" ;
29
- import { InputLikeStyle , InputLikeStyleType , LabelStyle } from "comps/controls/styleControlConstants" ;
29
+ import { ComponentStyle , InputLikeStyle , InputLikeStyleType , LabelStyle } from "comps/controls/styleControlConstants" ;
30
30
import {
31
31
hiddenPropertyView ,
32
32
minLengthPropertyView ,
@@ -58,7 +58,8 @@ let PasswordTmpComp = (function () {
58
58
visibilityToggle : BoolControl . DEFAULT_TRUE ,
59
59
prefixIcon : IconControl ,
60
60
style : styleControl ( InputLikeStyle ) ,
61
- labelStyle : styleControl ( LabelStyle )
61
+ labelStyle : styleControl ( LabelStyle ) ,
62
+ field : styleControl ( ComponentStyle )
62
63
} ;
63
64
return new UICompBuilder ( childrenMap , ( props ) => {
64
65
const [ inputProps , validateState ] = useTextInputProps ( props ) ;
@@ -74,7 +75,8 @@ let PasswordTmpComp = (function () {
74
75
/>
75
76
) ,
76
77
style : props . style ,
77
- labelStyle :props . labelStyle ,
78
+ labelStyle : props . labelStyle ,
79
+ field :props . field ,
78
80
...validateState ,
79
81
} ) ;
80
82
} )
@@ -110,6 +112,7 @@ let PasswordTmpComp = (function () {
110
112
< >
111
113
< Section name = { sectionNames . style } > { children . style . getPropertyView ( ) } </ Section >
112
114
< Section name = { sectionNames . labelStyle } > { children . labelStyle . getPropertyView ( ) } </ Section >
115
+ < Section name = { sectionNames . field } > { children . field . getPropertyView ( ) } </ Section >
113
116
</ >
114
117
) }
115
118
</ >
0 commit comments