Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN 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 
}

 

 

Labels (3)
0 Replies