Hello,
I would like to modify the Search Widget available in WAB so that I can select values within a layer.
I currently have the search box set up to search a layer by the field "name" when typed in the text box, but I would like these names available in a drop-down menu. I have attempted to rearrange code and use bits from other widgets that contain drop-downs but I receive errors.
Current html code for search widget (out of the box from ESRI):
<div>
<div data-dojo-attach-point="searchNode" class="search-node"></div>
<div data-dojo-attach-point="searchResultsNode" class="searchResults arcgisSearch"></div>
</div>