When upgrading to the latest version (4.8) of the esri js api, I noticed that my popup template functions no longer are working. If you see the below JS Bin, the function app.populationChange doesn't work. If you switch back the cdn references to 4.7, the popup looks correct. I didn't see this breaking change in the release notes. It seems like a function within an object no longer works, but a standalone function still works. Is this a bug? Or is this intended behavior?
JS Bin - Collaborative JavaScript Debugging
Solved! Go to Solution.
Hi Jack,
We've logged this as a bug in the API. Hopefully, this should get this addressed in the next release. In the meantime, it does appear to work if you remove the app object.
Thanks for letting us know,
Heather
Hi Jack,
We've logged this as a bug in the API. Hopefully, this should get this addressed in the next release. In the meantime, it does appear to work if you remove the app object.
Thanks for letting us know,
Heather
Just wanted to give you a head's up that this issue has been addressed. It should work properly in our next 4.9 release.
Thanks for the response. I appreciate the prompt resolution to this issue.