AnsweredAssumed Answered

Geocoder dijit throws error on submit when autocomplete is true - bug?

Question asked by jcarney_voicenet on Sep 15, 2014
Latest reply on Sep 15, 2014 by jcarney_voicenet

Hi,

 

When autocomplete is enabled for the geocoder widget, if a user choses to press enter instead of selecting from the autocomplete drop-down, it throws the following error:   Error "Error: This deferred has already been resolved     at Error (native)     at d (http://js.arcgis.com/3.10/init.js:73:478)     at resolve.callback (http://js.arcgis.com/3.10/init.js:75:350)     at q._receivedResults (http://js.arcgis.com/3.10/js/esri/dijit/Geocoder.js:31:116)     at null.<anonymous> (http://js.arcgis.com/3.10/js/esri/dijit/Geocoder.js:28:18)     at http://js.arcgis.com/3.10/init.js:174:23     at c (http://js.arcgis.com/3.10/init.js:74:221)     at d (http://js.arcgis.com/3.10/init.js:74:10)     at resolve.callback (http://js.arcgis.com/3.10/init.js:75:350)     at null.<anonymous> (http://js.arcgis.com/3.10/init.js:754:70)"   This is the case even in your sample at this url: Geocoder Widget | ArcGIS API for JavaScript . Is there a workaround or patch for this? Is there a way to disable whatever event (submit or keyup?) is triggering it? 

 

Thanks, Jules

Outcomes