@@ -91,7 +91,7 @@ interface TestViewProps {
91
91
92
92
function TestView ( props : TestViewProps ) {
93
93
const { itemComp } = props ;
94
- const { name, type } = itemComp . getView ( ) ;
94
+ const { name, type, description } = itemComp . getView ( ) ;
95
95
const testType = itemComp . children . test . children . compType . getView ( ) ;
96
96
const defaultType = itemComp . children . defaultValue . children . compType . getView ( ) ;
97
97
@@ -109,14 +109,14 @@ function TestView(props: TestViewProps) {
109
109
110
110
return (
111
111
< Fragment >
112
- { itemComp . children . test . children . comp . propertyView ( { label : name , layout : "vertical" } ) }
112
+ { itemComp . children . test . children . comp . propertyView ( { label : name , tooltip : description , layout : "vertical" } ) }
113
113
</ Fragment >
114
114
) ;
115
115
}
116
116
117
117
const childrenMap = {
118
118
name : CompNameControl ,
119
- description : StringControl ,
119
+ description : CompNameControl ,
120
120
type : dropdownControl ( typeOptions , InputTypeEnum . Data ) ,
121
121
defaultValue : withType ( defaultValueControls , InputTypeEnum . Data ) ,
122
122
test : withType ( testControls , InputTypeEnum . Data ) ,
@@ -132,7 +132,7 @@ class InputCompWithMethods extends InputCompBase {
132
132
133
133
getTestView ( ) {
134
134
const { name } = this . getView ( ) ;
135
- return controlItem ( { filterText : name } , < TestView key = { name } itemComp = { this } /> ) ;
135
+ return controlItem ( { filterText : name } , < TestView key = { name } itemComp = { this } /> )
136
136
}
137
137
138
138
private internalReduce ( action : CompAction ) : this {
0 commit comments