Hello, I am trying to make a search page for my locations entities. I am using search-ui-react and the FilterSearch component with Mapbox. We would like to be able to input an address, not just a zip code and have address suggestions. It looks like the solution would be to build out a Mapbox autocomplete field, but I wanted to see if Yext has anything that could accomplish this out of the box. Thanks.
Hey Jacob,
You can accomplish this by following 2 steps:
- In your Search config, set a Static Filter on the builtin.location searchable field. You must do this in the JSON editor.
- Then in the FilterSearch Component, add builtin.location to the searchFields prop.
Thanks for using our community!
Daniel