Hi, I've been tracking down why a reusable SectionStack wasn't rendering correctly its header controls consistently and believe I have tracked the issue down to a code typo in the framework.
Tested using v120d_2017-09-28_LGPL (affects earlier versions too).
Inside the SectionStack class definition you have the following code:
The code comment appears correct - the 2nd argument should be an array of sub-properties but instead the 'controls' sub-property is passed as a 3rd argument. I think code should be as follows (and making this change fixes the issue I was investigating):
Tested using v120d_2017-09-28_LGPL (affects earlier versions too).
Inside the SectionStack class definition you have the following code:
Code:
isc.SectionStack.registerDupProperties( "sections", // second array is sub-properties! ["items"], ["controls"]);
Code:
isc.SectionStack.registerDupProperties( "sections", // second array is sub-properties! ["items", "controls"]);
Comment