Closed skmasq closed 10 years ago
I'll look into it. Thanks for the report.
@mbest I'll reproduce this issue in jsFiddle tomorrow if that will help.
Yes, that will help a lot.
Any chance you can put together that example?
Yeah, sorry I was caught up in project, I'll do it in following day.
So I ported approx 1 = 1 in jsfiddle, but it seemed to me that I could not replicate the issue there. So, then I replaced foreach
to repeat
in my project and it's now magically working, it seems that I have accidentally fixed the issue, so I'll close this thread for now and if I come across this issue again I'll let you know what exactly was the root cause.
So I have observableArray of
new LineItem()
instances, and when I try to use.remove(that instance)
or.removeAll([all,instances,to,remove])
it removes the element(-s) and then first element of array has one way binding, i.e. if I changeinput
nothing changes but if I change inconsole
everything reflects on screen.Is this some kind of specific bug to what someone has a workaround, or this is something that's need to be fixed? (If someone can point me where should put my hands on to fix this, I will be glad to do so, speed of rendering is important to what I'm doing)
I switched back to
foreach
for time being because of shipping deadlines.