Error when UpdateSelection() is called in custom widget
I have a custom dropdown widget that I noticed when implemented doesn't update when some options are selected. I checked the console logs and the error that comes up is:
"Uncaught TypeError: Cannot read property 'dataMgr' of undefined"
It occurs when updateSelection() is called in the code. I first thought this might be an issue with my data source feeding the widget but the dropdown selection works completely fine when the mashup is previewed in the Composer with no errors occuring.
Any ideas what could be causing this issue?

