Affects Version/s: Alloy 1.5.0, alloy 1.8.1, alloy 1.8.5
Mac OSX El Capitan
iOS simulator 9.3
Ti CLI 5.0.6
Ti SDK 5.2.1.GA
Sprint:2016 Sprint 09 Tooling
ALOY-443 (Alloy 1.5.0) we started to use _.template() for complex model data binding.
Since _.template() always returns a string, it doesn't work for binding objects, e.g. an attributedString as the attached test case:
Just tested that, using alloy v1.8.2 and v1.8.5 I was unable to set the `attributedString` property via a `ListItem` template.
Using alloy 1.7.35 everything is working fine.
I attach a simple test project that contains a `ListView` with a template composed by two labels.
On the first label I set the `text` property with a simple model string and on the second one i set the `attributedString`.
For the first label everything is working correctly (as expected) and for the second one is working only using v1.7.35 of alloy.