Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
peachman
Contributor III
Contributor III

Access Properties Panel Variables half working

Hi

I have got the below variable that I used to build the dimensions part of my properties panel. I have included a reference to props.t2 that I 'should' be able to access with in the layout variable within the main paint method. however this does not appear. When I add a custom section (adding in a new item to the main menu) I do get access to props.t1 on another element, however this does not work when adding an additional item to the dimensions field? why might this be?

 

 

var dimensions = {
		uses: "dimensions",
		items: {
			myTextBox2: {
				ref:"props.t2",
				label:"Type",
				type:"string"
			}
		},
	};

 

 

 

 

 

paint: function ($element,layout) {
   console.log(layout.props.t2) --undefined 
}

 

 

Labels (2)
0 Replies