Hi
I have a search widget that is searching owners name in a property featurelayer. I know that there are suppose to be multiple results but it is only returning one. I have set autoSelect: false, but it's still only returning one results.
There is the code
var searchParcel = new Search({
view: view,
includeDefaultSources: false,
allPlaceholder: "Find Parcel",
minSuggestCharacters: 4,
popEnabled: true,
popupOpenOnSelect: true,
autoSelect: false,
sources: [
{
featureLayer: new FeatureLayer({
url: "https://xxxxx/MapServer/1",
outFields: ["*"]
}),
searchFields: ["owner"],
displayField: "owner",
exactMatch: false,
outFields: ["*"],
name: "Owner S",
maxSuggestions: 20,
suggestionsEnabled: true,
minSuggestCharacters: 3
},
Thanks
Vicki
Update : I figured out that if a type in the search criteria in the search widget I get all the results but if I select it from the suggestion dropdown I only get one.
Vicki