Hi, I have two TextInput :
<TextInput ux:Name="usernameTI" Row="0" Column="1" TextAlignment="Left" PlaceholderText="Usuario" Opacity=".3" PlaceholderColor="#000" Value="{user}" />
<TextInput ux:Name="passwordTI" Row="1" Column="1" TextAlignment="Left" PlaceholderText="Password" Opacity=".3" PlaceholderColor="#000" Value="{password}" />
I try pass the value to an variable :
var Observable = require('FuseJS/Observable');
var user = Observable();
var password = Observable();
var body = Observable();
body = {
"user": user,
"password": password
};
module.exports = {
user: user,
password: password,
body:body
};
But with debug_log(body); I get this:
{"user":{"_origin":-159,"_subscribers":[{"version":2,"active":true},{"version":2,"active":true}],"_isProxy":false,"_values":[],"_beganSubscriptions":true},"password":{"_origin":-160,"_subscribers":[{"version":2,"active":true},{"version":2,"active":true}],"_isProxy":false,"_values":[],"_beganSubscriptions":true}}
I can`t get the value of this TextInput. Can you help me?