Qlik Community

Ask a Question

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
April 22, 2PM EST: Learn about GeoOperations in Qlik Sense SaaS READ MORE
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 
}

 

 

0 Replies