You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling ko.viewmodel.toModel from a custom unmap function, as seen in one example on the project page, leads to infinite recursion. The example from the project page looks as follows:
The call to ko.viewmodel.toModel in unmap leads to unmap being called recursively in my experience (using knockout.viewmodel 2.0.3 and Knockout 2.3.0). See my example fiddle to reproduce, although I've commented out the unmap function initially because it causes the page to crash in Chrome,
The text was updated successfully, but these errors were encountered:
I'll take a look at this problem for the release after the current one I'm working on (which I'm trying like crazy to make the time to wrap up). Thanks for your help.
Calling ko.viewmodel.toModel from a custom unmap function, as seen in one example on the project page, leads to infinite recursion. The example from the project page looks as follows:
The call to ko.viewmodel.toModel in unmap leads to unmap being called recursively in my experience (using knockout.viewmodel 2.0.3 and Knockout 2.3.0). See my example fiddle to reproduce, although I've commented out the unmap function initially because it causes the page to crash in Chrome,
The text was updated successfully, but these errors were encountered: