AnsweredAssumed Answered

Search Widget Results

Question asked by xylochic627 on Oct 13, 2015
Latest reply on Aug 11, 2017 by rscheitlin

I'm using the search multiple sources example ( and I'm beginning to modify it to fit my needs. It's more or less working as it should, except for the results it returns when the search should select multiple points and instead it chooses just one.


For example, I want to find the boat ramps on a particular body of water. I input Pickwick, and it's automatically returning one ramp, instead of the 5 or 6 it should.


Anyone else run into this? Here's the applicable portion of my code, as it is now:


sources.push({ featureLayer: new FeatureLayer(""), searchFields: ["Waterbody"], displayField: "Access_Are", exactMatch: false, outFields:["Access_Are"], name: "Boat Ramps", placeholder: "Waterbody Name", maxResults: 15, maxSuggestions: 15, infoTemplate: rampsInfoTemplate, enableSuggestions: true, minCharacters: 0 });