Custom Properties Help
If I want to add a custom property in Sencha Architect to a view let's say... for example like testVal and I need this to contain a ternary operation like the following:
I add the new property, add the value and after that I see:
testVal: Ext.os.is.Android ? 0 : 100
If I change the type for this new property to be a numerical one, Architect complains about 'maximum length for this field is 12...' and doesn't let me to have such input.
testVal: 'Ext.os.is.Android ? 0 : 100'
So what needs to be done in cases like this, can this be reported as an required functionality? :)
Thank you !
at the moment, you can't put logic in a configs property value. create the property, then set the value in the init of your container or controller etc.