AnsweredAssumed Answered

How to restrict Search to a certain extent?

Question asked by hzhu on Jun 22, 2017
Latest reply on Jun 22, 2017 by hzhu

I am replacing my GeoCoder  Widget with Search Widget. In GeoCoder i can restrict my search in a certain area by doing this:
arcgisGeocoder: true,
arcgisGeocoder: {
      placeholer: "Enter a US street address",
      searchExtent: new esri.geometry.Extent({
      xmin: -8631362.9367,
      ymin: 4655884.590300001,
      xmax: -8532954.2208,
      ymax: 4772527.9208,
      spatialReference: { "wkid": 102100 }
}),
url: "http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"
}

As i was looking into the search widget in JS 4.3, i could not find equivalent  options. Any ideas of how to set such options in Search Widget?

Outcomes