After an update from 2.7 to 2.10 the Query Widget in the developer UI throws a few bugs. 2.7 Icons are missing. When I click on each query the error below is thrown: Cannot read property 'name' of null.
Phil,
The icon property in your apps query widget config need to be updated.
Hi Robert
Thanks for the suggestion.
The issue is that the image exists in the Query/css/images path but isn't loaded to the to DOM. Furthermore, changing the icon from the default set isn't possible. When I click 'Ok' the Uncaught TypeError is thrown again.
The icon may exist in that folder but the app is trying to get it from a url as shown in the last red error message.
Right, I agree. My point is that I've confirmed that the icon exists where it should in the dev environment. For whatever reason it is not pushed to it's place in the DOM.
I ended up tearing down this widget and starting over again.
So it is working now?
yes
Glad to hear it.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.