Hello,
Upgrading to 4.29, I noticed that search with custom sources is broken:
https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-customsource/
After selecting a result from suggestion, it does not zoom to it and the following error is logged:
message: "Cannot select without a source."
Returning the `sourceIndex` property in the `searchResult` fixes it but is not documented:
https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#SearchResult
Thanks,
Nicolas
Hi @Noah-Sager,
Thanks for your reply.
Seems like sample is now fixed and using latest 4.29.4, it's now working out of the box.
Thanks
Hi @NicolasGIS, thanks for reporting this issue. We are investigating.
Excellent, thanks for reporting. I forgot to circle back and post that we found and fixed the issue.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.