<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic autoSelect: false not working? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153534#M14308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm wondering if anyone has managed to use the search widget with autoSelect set to false? I would like the user to type in the search box something like "medium", and hit enter, and have all features with "medium" in the search field returned. All of my layers feeding into the search widget work fine when autoSelect is set to true, but as soon as I set it to false it seems the widget is unable to select anything at all. Either by hitting enter, or by clicking one of the suggestions in the dropdown - nothing happens at all. No infoWindow shows and the map doesn't zoom to any features. Am I missing something? Do I need to do something in addition to just setting autoSelect to false?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 22:33:51 GMT</pubDate>
    <dc:creator>LauraMiles1</dc:creator>
    <dc:date>2016-04-27T22:33:51Z</dc:date>
    <item>
      <title>autoSelect: false not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153534#M14308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm wondering if anyone has managed to use the search widget with autoSelect set to false? I would like the user to type in the search box something like "medium", and hit enter, and have all features with "medium" in the search field returned. All of my layers feeding into the search widget work fine when autoSelect is set to true, but as soon as I set it to false it seems the widget is unable to select anything at all. Either by hitting enter, or by clicking one of the suggestions in the dropdown - nothing happens at all. No infoWindow shows and the map doesn't zoom to any features. Am I missing something? Do I need to do something in addition to just setting autoSelect to false?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 22:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153534#M14308</guid>
      <dc:creator>LauraMiles1</dc:creator>
      <dc:date>2016-04-27T22:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: autoSelect: false not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153535#M14309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jsfiddle&lt;A href="http://jsfiddle.net/2pYcJ/76/"&gt; here&lt;/A&gt;​. If you type a partial address and hit enter (ie. type "2980 Prin" then hit enter) you can see multiple results are being returned. Results are also logged to the console. Should I be handling the results myself, or is this a bug that the infoWindow is not popping up and no results are zoomed to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 18:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153535#M14309</guid>
      <dc:creator>LauraMiles1</dc:creator>
      <dc:date>2016-04-28T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: autoSelect: false not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153536#M14310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Laura,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it works as expected. As per the documentation for autoSelect&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Indicates whether to automatically select the first geocoded result. If &lt;CODE&gt;false&lt;/CODE&gt;, the &lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm"&gt;findAddressCandidates&lt;/A&gt; operation will still geocode the input string, but the top result will not be selected. To work with the geocoded results, you can set up a &lt;A href="https://developers.arcgis.com/javascript/jsapi/search-amd.html#event-search-results"&gt;search-results&lt;/A&gt; event handler and get the results through the event object.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It means that it select the first result graphic and zooms and pops up the infowindow when autoSelect is true. else you need the handle the results your self. i.e. create your own popup or use map.infowindow and set the features to it using the &lt;A href="https://developers.arcgis.com/javascript/jsapi/popup-amd.html#setfeatures" title="https://developers.arcgis.com/javascript/jsapi/popup-amd.html#setfeatures"&gt;setFeatures&lt;/A&gt; method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 19:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153536#M14310</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-04-28T19:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: autoSelect: false not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153537#M14311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thejus. I found the documentation a bit ambiguous but if that's the expected behaviour, I can work with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 20:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/autoselect-false-not-working/m-p/153537#M14311</guid>
      <dc:creator>LauraMiles1</dc:creator>
      <dc:date>2016-04-28T20:00:07Z</dc:date>
    </item>
  </channel>
</rss>

