Hi,
I have an Observable like this in our app:
exports.vmMain =
new
observableModule.Observable({
message: {
id: 123456789,
text:
"My default text"
//...
},
//other bundled objects...
});
and I bind the text property of the TextView to the text property of my message Object in the Observable, like this:
<
TextView
text
=
"{{ message.text }}"
/>
When the page is loaded, the TextView contains the text "My default text", so the binding seems to work.
Unfortunatley, when I type something in the TextView, there is an binding-error:
Binding error while setting property text of [object object]: TypeError: instance.set is not a function
We have many properties in this form, so I tried to structure them as Objects within the Observable, instead of managing many single components in the Observable.
I work with the latest NativeScript version 2.4.0. The binding error occurs on Android and iOS.
Is that something that can be fixed, so that this scenario would work in a future release?
Best regards