@@ -6,7 +6,7 @@ import { default as TreeSelect } from "antd/es/tree-select";
6
6
import { useEffect } from "react" ;
7
7
import styled from "styled-components" ;
8
8
import { styleControl } from "comps/controls/styleControl" ;
9
- import { LabelStyle , TreeSelectStyle , TreeSelectStyleType } from "comps/controls/styleControlConstants" ;
9
+ import { ComponentStyle , LabelStyle , TreeSelectStyle , TreeSelectStyleType } from "comps/controls/styleControlConstants" ;
10
10
import { LabelControl } from "comps/controls/labelControl" ;
11
11
import { dropdownControl } from "comps/controls/dropdownControl" ;
12
12
import {
@@ -67,6 +67,7 @@ const childrenMap = {
67
67
inputValue : stateComp < string > ( "" ) , // search value
68
68
style : styleControl ( TreeSelectStyle ) ,
69
69
labelStyle :styleControl ( LabelStyle ) ,
70
+ field :styleControl ( ComponentStyle ) ,
70
71
viewRef : RefControl < BaseSelectRef > ,
71
72
} ;
72
73
@@ -102,6 +103,7 @@ const TreeCompView = (
102
103
...validateState ,
103
104
style,
104
105
labelStyle,
106
+ field :props . field ,
105
107
children : (
106
108
< StyledTreeSelect
107
109
ref = { props . viewRef }
@@ -185,6 +187,7 @@ let TreeBasicComp = (function () {
185
187
< >
186
188
< Section name = { sectionNames . style } > { children . style . getPropertyView ( ) } </ Section >
187
189
< Section name = { sectionNames . labelStyle } > { children . labelStyle . getPropertyView ( ) } </ Section >
190
+ < Section name = { sectionNames . field } > { children . field . getPropertyView ( ) } </ Section >
188
191
</ >
189
192
) }
190
193
</ >
0 commit comments