Esri / solutions-components

A collection of UI components for constructing webapps.
Apache License 2.0
16 stars 7 forks source link

Done button does not activate when open search distance on load is disabled and Search distance option is enabled in PN #917

Closed azizaparveen closed 1 month ago

azizaparveen commented 1 month ago

Describe the bug

Done button does not activate when "Open search distance when app loads" is disabled and Search distance option is enabled and used in PN image image

Expected Behavior

The button should activate when search feature is entered and a search distance is specified

Reproduction Steps & Sample

Test app: https://solutions.mapsdevext.arcgis.com/apps/instant/notification/index.html?appid=abe5f5de20714a88976d818d783c18c1 1) Launch the App, 2) Click on Create list button 3) Copy and paste SID-2 in the search box, Do not select a value from the suggestions this is a key step 4) Enable Search Distance, 5) Enter 1 in the Search distance input box. 6) Notice the Done button is still disabled and if you press Enter at the Seach distance input box after entering a value, it is still not enabled or execute the query Done_Pn

Other Relevant Info

No response

azizaparveen commented 1 month ago

cc @ChryseMorales

jmhauck commented 1 month ago

@azizaparveen this seems like standard functionality of the search widget. No search is being performed here unless you choose from the list or click enter when the search widget has focus. Same behavior is seen in the search widget sample:

https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-search-multiplesource

azizaparveen commented 1 month ago

@john thanks, will close it as expected behavior