Please could someone offer me so help on the following? I’ve tried reading the docs and examples but cannot understand what I need to do to have my textbox update an object in my observable list.
<App>
<JavaScript>
var Observable = require("FuseJS/Observable");
var players = Observable(
{id: 1, name: "Player1", score: 0},
{id: 2, name: "Player2", score: 0},
{id: 3, name: "Player3", score: 0},
{id: 4, name: "Player4", score: 0}
);
module.exports = {
players: players,
};
</JavaScript>
<StackPanel>
<Each Items="{players}">
<TextBox Value="{name}" />
<Text Value="{name}" />
</Each>
</StackPanel>
</App>