Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Can't use binding between view and model Alloy 1.4

$
0
0

Hi, I've been trying to bind a simple model to a view using Alloy and since the new update I find it impossible to do.

On one hand like this article: specifies I can use: <Slider value="{myModel.name}" max="5" min="1"/> but this doesn't compile as you are trying to do a complex binding (which is not allowed anymore)

On the other hand if I use: {$.myModel.name} It compiles but I don't see that data and the binding is not working.

I also trying binding a collection to the view and adding a single item but that seems an overkill and too big of a change (also it didn't work when trying to bind table within a table)

This was working before the recent update SDK 3.4.0 and I can't go back.

Please can you provide a basic example of a model and view binding using Alloy and Titanium?

Thanks,


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>