@@ -26,7 +26,7 @@ import {
2626import { withMethodExposing } from "../../generators/withMethodExposing" ;
2727import { styleControl } from "comps/controls/styleControl" ;
2828import styled from "styled-components" ;
29- import { InputLikeStyle , InputLikeStyleType , LabelStyle } from "comps/controls/styleControlConstants" ;
29+ import { ComponentStyle , InputLikeStyle , InputLikeStyleType , LabelStyle } from "comps/controls/styleControlConstants" ;
3030import {
3131 hiddenPropertyView ,
3232 minLengthPropertyView ,
@@ -58,7 +58,8 @@ let PasswordTmpComp = (function () {
5858 visibilityToggle : BoolControl . DEFAULT_TRUE ,
5959 prefixIcon : IconControl ,
6060 style : styleControl ( InputLikeStyle ) ,
61- labelStyle : styleControl ( LabelStyle )
61+ labelStyle : styleControl ( LabelStyle ) ,
62+ field : styleControl ( ComponentStyle )
6263 } ;
6364 return new UICompBuilder ( childrenMap , ( props ) => {
6465 const [ inputProps , validateState ] = useTextInputProps ( props ) ;
@@ -74,7 +75,8 @@ let PasswordTmpComp = (function () {
7475 />
7576 ) ,
7677 style : props . style ,
77- labelStyle :props . labelStyle ,
78+ labelStyle : props . labelStyle ,
79+ field :props . field ,
7880 ...validateState ,
7981 } ) ;
8082 } )
@@ -110,6 +112,7 @@ let PasswordTmpComp = (function () {
110112 < >
111113 < Section name = { sectionNames . style } > { children . style . getPropertyView ( ) } </ Section >
112114 < Section name = { sectionNames . labelStyle } > { children . labelStyle . getPropertyView ( ) } </ Section >
115+ < Section name = { sectionNames . field } > { children . field . getPropertyView ( ) } </ Section >
113116 </ >
114117 ) }
115118 </ >
0 commit comments