@@ -6,7 +6,7 @@ import { default as TreeSelect } from "antd/es/tree-select";
66import { useEffect } from "react" ;
77import styled from "styled-components" ;
88import { styleControl } from "comps/controls/styleControl" ;
9- import { LabelStyle , TreeSelectStyle , TreeSelectStyleType } from "comps/controls/styleControlConstants" ;
9+ import { ComponentStyle , LabelStyle , TreeSelectStyle , TreeSelectStyleType } from "comps/controls/styleControlConstants" ;
1010import { LabelControl } from "comps/controls/labelControl" ;
1111import { dropdownControl } from "comps/controls/dropdownControl" ;
1212import {
@@ -67,6 +67,7 @@ const childrenMap = {
6767 inputValue : stateComp < string > ( "" ) , // search value
6868 style : styleControl ( TreeSelectStyle ) ,
6969 labelStyle :styleControl ( LabelStyle ) ,
70+ field :styleControl ( ComponentStyle ) ,
7071 viewRef : RefControl < BaseSelectRef > ,
7172} ;
7273
@@ -102,6 +103,7 @@ const TreeCompView = (
102103 ...validateState ,
103104 style,
104105 labelStyle,
106+ field :props . field ,
105107 children : (
106108 < StyledTreeSelect
107109 ref = { props . viewRef }
@@ -185,6 +187,7 @@ let TreeBasicComp = (function () {
185187 < >
186188 < Section name = { sectionNames . style } > { children . style . getPropertyView ( ) } </ Section >
187189 < Section name = { sectionNames . labelStyle } > { children . labelStyle . getPropertyView ( ) } </ Section >
190+ < Section name = { sectionNames . field } > { children . field . getPropertyView ( ) } </ Section >
188191 </ >
189192 ) }
190193 </ >
0 commit comments