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
Creating a new User while passing in no data will create an empty User instance. You then pass this empty model instance into the view and because both id and name are undefined, live binding cannot resolve the values you're binding to. There seems to be a bug in CanJS when attr() is used to retrieve an undefined value.
So it is probably the fragment passed to the callback. We should probably get rid of callback and only use Deferreds but not for 1.1.x releases. Still investigating how to fix this best.
Creating a new User while passing in no data will create an empty User instance. You then pass this empty model instance into the view and because both id and name are undefined, live binding cannot resolve the values you're binding to. There seems to be a bug in CanJS when attr() is used to retrieve an undefined value.
Sample: http://jsfiddle.net/basememara/j9XSw/4/
Thread: https://forum.javascriptmvc.com/#Topic/32525000001083069
The text was updated successfully, but these errors were encountered: