-
Notifications
You must be signed in to change notification settings - Fork 27.5k
[Breaking] 1.6.0 ng-class form bind causes [ng:cpws] Can't copy! Making copies of Window or Scope instances is not supported. #15479
Comments
@niemyjski, is this something that used to work before 1.6.0?
(Hopefully, both should solve the issue.) |
Just changing |
Good to know 😃 Doing that in all similar places will also improve performance (according to #15243 it will speed up those Now, the critical question is: |
I was on 1.5.8 and it was working without issue. It was introduced in 1.6
|
Ooops, sounds like a regression. Any chance you could create a reproduction (e.g. using CodePen, Plnkr etc)? BTW, it would be awesome if you could test with https://code.angularjs.org/snapshot/angular.js and verify that you no longer need the |
Since #15246 has landed on 1.6.x and it eliminates Closing as fixed, but feel free to prove me wrong 😃 |
FYI I have had this issue in Angularjs 1.8.2: I had the following attribute:
and fixed the error by changing to:
|
I have async validation (https://github.com/exceptionless/Exceptionless.UI/blob/master/src/app/auth/signup.tpl.html#L59) happening in this form and if I remove it it works, If I leave it but remove the following ng-bind it also works (https://github.com/exceptionless/Exceptionless.UI/blob/master/src/app/auth/signup.tpl.html#L54). There is some kind of issue going on here and I figured I'd log this and continue to try and track it down.
The code can all be found here: https://github.com/exceptionless/exceptionless.ui
This happens 10 times and then I get:
The text was updated successfully, but these errors were encountered: