If a web map has search enabled in the application settings, is it possible to remove those sources in the map component?
I would like the search source to only be a default one created from AGOL world geocoding. I figured out how to add the AGOL LocatorSearchSource to the search component, and I can make it the first option with the active-source-index property. However, the other options from the web map remain. This is an issue as one of the locators will prompt public users for credentials if selected.
I feel like I'm missing something simple that would allow for only the default source to be used for searching.
Search | ArcGIS Maps SDK for JavaScript