Hey Fusers Crew,
As of v. 0.29.0 (build 8396) the below code will return me this build error: Names must be unique within each document scope. In this scope 'MainView' starting on MainView.ux line 1 the name '{name}' is already used for Text on line 18 -
<App>
<JavaScript>
var Observable = require("FuseJS/Observable");
function Obj(name, val) {
this.name = name;
this.text = val;
};
exports.one = new Obj("first", "With element One");
exports.two = new Obj("second", "With element Two");
</JavaScript>
<StackPanel>
<With Data="{one}">
<Text ux:Name="{name}" Value="{text}"/>
</With>
<With Data="{two}">
<Text ux:Name="{name}" Value="{text}"/>
</With>
</StackPanel>
</App>
When, if I recalled correctly, previously I’ve databinded ux:Name before, similarly and all worked fine, since the binded “{name}” is different and should logically resolve as unique.
Please take a look.
Thanks.
Elizabeth