Hi,
It means that when I put my own GeoCoder code and enter an origin/Destination I got "no result found" message in the widget, and no error message appears on in the console.
I can confirm the locator(My GeoCoder) works fine as I have already tested it in an App Builder application.
otherwise , I have solved the issue by working with a FeatureLayer instead of Locator like this:
var sourcesLayer = [
{
featureLayer: new FeatureLayer("https://xxxxxxxxxx/arcgis/rest/services/TEST_SPATIAL/MapServer/0"),
searchFields: ["DesignationPointTransport"],
suggestionTemplate: "${DesignationPointTransport}",
exactMatch: false,
outFields: ["*"],
name: "Senators",
labelSymbol: "t",
placeholder: "Senator name",
maxResults: 6,
maxSuggestions: 6,
enableSuggestions: true,
minCharacters: 0,
localSearchOptions: { distance: 50000 }
}
];