Closed krishnaapatel closed 2 years ago
What do you pass to inputContainer
? You may need to defer Unified InstantSearch until Angular has built the DOM.
What do you pass to
inputContainer
? You may need to defer Unified InstantSearch until Angular has built the DOM.
Thanks for your response. I have just created div with "search-button" id and unified search will pick that element as inputContainer. Though, when I put that div element in index.html, It is working. But, When I put that div in component html file. It is not working. Yes, It seems I need to modified unified InstantSearch.
I am facing this issue while integrating with angular app. I know what is issue, I have created div element with id "search-button" in app component. But, It is native element not the HTML element. so, this error appear. Can anyone please help me how to use in angular component?
I have exported unified-search application and imported search.js and search.css in angular.json file.