PDA

View Full Version : Adding an array to config section of a controller



tmcdonald
26 Apr 2012, 12:28 PM
How would I add an array to the config section of a controller within Sencha Architect (Sencha Touch)? I see that I can add a string and initialize it by adding a custom property, but I can't do the same with an array - defaults always to text.

aconran
27 Apr 2012, 9:48 AM
Type in "myArray: []" in the filter box and click Add.

tmcdonald
27 Apr 2012, 10:06 AM
Ah, ok.... I tried using the filter, but did not with the colon - so it was defaulting to string. Thank you.