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?
Solved! Go to Solution.
Hello twdev786,
Have you tried outputting some additional log messages in your Widget code to try and confirm the value of is assigned dataMgr as you would expect it? Based on the error you are seeing it seems that the variable is defined but does not have a value assigned.
Regards,
Tyler
Hello twdev786,
Have you tried outputting some additional log messages in your Widget code to try and confirm the value of is assigned dataMgr as you would expect it? Based on the error you are seeing it seems that the variable is defined but does not have a value assigned.
Regards,
Tyler
Hi @twdev786.
If the previous response allowed you to find a solution, please mark it as the Accepted Solution for the benefit of others with the same issue.
Regards.
--Sharon