Just before you set the custom state, are you able to use the “reset inputs” action? to clear it

image

Or if that doesn’t work, perhaps you can run a JavaScript action (under elements) if you have Toolbox installed that looks like the below. This implies that you’ve set the Input’s element id to “search_input”

document.getElementById("search_input").value = '';

image