hi everyone
i got an array of objects that looks like this:
favourites = [{"id":2,"Name":"test 1"},
{"id":5,"Name":"test 2"},
{"id":3,"Name":"test 3"}]
defined in JavaScript and exported . but when i use it inside an Each like this:
<Each Items="{favourites}">
<Text Value="{Name}" Alignment="Center" TextAlignment="Center" TextColor="#008C50" FontSize="15" Margin="0,0,0,0"/>
</Each>
it gives an error that {Name} not found in data context
!
why is that ?
My many many thanks in advance.