Closed brenden closed 12 years ago
I am trying to bind an array of names to the entries in list A, but not to list B.
<div> <ul id="A"> <li data-bind="names"></li> </ul> <ul id="B"> <li></li> </ul> </div>
var data = {names: ['woody allen', 'wu tang clan']}; map.where('data-bind').is('names').to('names'); plates.bind(html, data, map);
Expected output:
<div> <ul id="A"> <li data-bind="names">woody allen</li> <li data-bind="names">wu tang clan</li> </ul> <ul id="B"> <li></li> </ul> </div>
Actual output:
<div> <ul id="A"> <li data-bind="names">woody allen</li> </ul> <ul id="B"> <li></li> <li data-bind="names">wu tang clan</li> </ul> <ul id="B"> <li></li> </ul> <ul id="B"> <li></li> </ul> </div>
If I remove list B, the data gets bound to list A properly. Any thoughts on what is happening?
Thanks
Yes, this is similiar to #47. We are working on it.
Closed due to issue being duplicate
I am trying to bind an array of names to the entries in list A, but not to list B.
Expected output:
Actual output:
If I remove list B, the data gets bound to list A properly. Any thoughts on what is happening?
Thanks