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
Solved! Go to Solution.
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.
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
Excellent, thanks for reporting. I forgot to circle back and post that we found and fixed the issue.