Hello WAB Dev Team,
Just FYI, I think it may be necessary to modify this line in the showResults method of the Geocoder widget. A subLayerId of 0 is falsy so the feature.infoTemplate end up being null and it's infoTemplate is not recognized. As a workaround I had to change the index of the subLayer with the infoTemplate so that it's subLayerId would be 1.
I am interested in what you are doing here. Can you explain more about the sublayerid and what you changed in your code? From the looks of it I can't see any difference in the code you provided and the code in the Dev version 1.1 unless I am just missing it.
I didn't make any changes to the code. I'm suggesting that the Dev team look into it. I had an issue here because I have a web map with a map service. I'm using the first layer within the map service for searching. What I understand to be occurring in the code block provided is:
My workaround was to make the search layer the second layer in the web map so that activeGeocoder.subLayerId is 1 and the expression evaluates properly.