I am using the ‘Search and Select’ in my application.Currently,when I click the Reset button,it only clears the search input fields. However, the search results remain displayed.
My requirement is that when the user clicks Reset, it should:
1.Clear all the search fields.
2.Clear the search results as well, so that no previous results are displayed.
Could you please suggest the recommended approach?Please find the screenshots below for reference.
Hello, Unfortunately there is no OOTB way to achieve this right now as per my knowledge. Reset is just clearing the fields and there is no API call behind the screens.
What you are seeing is the current OOTB behaviour of the Search and Select / Advanced Search pattern. The Reset button clears only the search input fields; it does not clear the displayed search results or table state, and this is considered intentional by the product design. Reset is a UI-only action for the search form; it does not trigger backend processing, does not re-execute the report/data page, and does not provide a hook where clearing the data page or page list will refresh the visible result set.
If your requirement is to hide the results after Reset, the usual workaround is not to depend on Reset itself, but to control the visibility of the results area. For example, show the results table only when the minimum search criteria are present, and hide it when all criteria are blank. This pattern has been suggested in the community as the practical way to mimic “clear results on reset” behaviour