Have a look at this sample for the new Search dijit from the 3.13 JavaScript api
ArcGIS API for JavaScript | Basic Search
When you get a list of suggestions you can't click on the <strong>bold/strong</strong> text. I assume this is a bug on ESRI's part. Has anyone dealt with this?
Solved! Go to Solution.
A work around for this ESRI bug would be to remove the <strong> tag from the HTML.
geocoder.on('suggest-results', function(evt){
array.forEach(dojoQuery('.suggestionsMenu li'), function(domSuggestion){
domSuggestion.innerHTML = domSuggestion.title;
});
});
This should allow the mouse click event to work.
Quick example, click on the bold and nothing happens. Click on the normal text and select-result fires.
A work around for this ESRI bug would be to remove the <strong> tag from the HTML.
geocoder.on('suggest-results', function(evt){
array.forEach(dojoQuery('.suggestionsMenu li'), function(domSuggestion){
domSuggestion.innerHTML = domSuggestion.title;
});
});
This should allow the mouse click event to work.
correct as a workoutaround...still a bug in the API from what I can tell.
This is an issue we're aware of and have it in the plan to fix for the next release of the API.