I tried out your extension and it works well if I hard-code the source like in your example. However, if I try to use your function example (by copy/pasting it), the list never populates and closed almost as soon as it opens.
When I debugged it I got the error shown in the screenshot.
Also, I am not sure how my JSON file should be formatted. It looks like the following:
Any thoughts on what I'm doing wrong and how to fix it?
I tried out your extension and it works well if I hard-code the source like in your example. However, if I try to use your function example (by copy/pasting it), the list never populates and closed almost as soon as it opens.
When I debugged it I got the error shown in the screenshot.
Also, I am not sure how my JSON file should be formatted. It looks like the following:
Any thoughts on what I'm doing wrong and how to fix it?