Closed Wylisc closed 5 years ago
You don't need a new search, you need to get the search the app creates. It's in the ViewManager.js. Try applying that code there.
Sorry I'm new at this, but where is ViewManager.js?
You don't need a new search, you need to get the search the app creates. It's in the ViewManager.js. Try applying that code there.
Basically what I've done is take the Example from the front page and I have been testing that.
So I am trying to create a custom popup when a search result is selected, but I am unable to hide the built in search popup with the following code:
` var searchWidget = new Search({ view: view, popupOpenOnSelect: false });
`
Specifically the popupOpenOnSelect function isn't being registered and thus the default popup remains. Using ArcGIS api sandbox without calcite and it works as intended so I think something in calcite might be overriding the setting and displaying it anyways.
Any insight into this matter would be greatly appreciated :)