AnsweredAssumed Answered

How to display all results returned by search widget

Question asked by congtt97 on Aug 2, 2018
Latest reply on Aug 7, 2018 by congtt97

I'm starting with the example of search widget with multiple sources Search widget with multiple sources | ArcGIS API for JavaScript 4.8 

When I select my layer from the drop-down options the widget only highlight one value (the polygon was colored brown), probably the first it finds. For example, I let the user query by country name. Say the user enters "USA" I was hoping the widget would return a list of all polygon which have the field country filled with USA but instead it just highlight and zooms to the first result (while I'm sure there are more). When I use the Arcgis World geocoding service on the dropdown menu, the popup allows me to click on the "Show more results" but it doesn't appear when i use my layer. Is there anyway to do it or highlight all the polygon results ?

Outcomes