I switched my dynamic list from ng-repeat to collection-repeat as per the example. I get a scrollable area, with nothing rendered, and an error that reads:
Error: attempted to assign to readonly property
Has anyone else had this issue in using collection-repeat?
not exactly with collection-repeat, i had it with a form.
my problem was i binded my sql Return Object to the form.
after coping with angular.copy it did work.
try to copy your return value and tr again.
something like this:
I get the same error, but only when running ionic emulate ios.
Starting if from xCode to a simulator 8.0 works, also on a 7.1 device it works.
What could be the issue?
I have been fighting with this since morning with no solution yet, I also tried to remove the iOS platform and added again in case I messed up something but I had no luck.
This happen in the iPhone 5 iOS 8.1 simulator for me.
After reading several posts in the web, including SO and other frameworks this is present in both the simulator and real device, check here: https://github.com/emberjs/ember.js/issues/5606 . Although that is for ember I have read similar reports on angular applications.
It is not the same time I read about removing the “use strict” mode on the angular files. I haven´t tried yet.
I substituted the “new” function he rewrote in the ionic.bundle.js file.
I tested in the iPhone 5 and 4 simulator with iOS 8.1 and the error went away and all other stuff seems to keep working correctly. I had no real devices for those models so I can´t confirm if the error also go away with this fix.
Hope this help and if you find another solution please let me know.