@mrtolu6 please try the following run anywhere example. It takes a text input and displays the same in the panel. Once the Panel Search completes the text box token is cleaned up.
The <change> event handler of the text box is used to set the token passed in the search for the panel (using text box's predefined token $value$ to access selected text box value on change). In case the Text box value is null or empty token is not set.
<condition match="isnotnull($value$) AND $value$!=""">
On completing the search, the <done> event handler is used to <unset> the Text Box value:
This works to clear the form field. But the URL is not modified to reflect this fact. So, if the page gets refreshed by the user or was left open when the browser was shut down and the user has the start where I left off option set the page will rerun the dash board.
How does one clear the field and reset the URL to reflect that fact?