Decrypted value not available in search box when sending hashed query

I am encrypting the search query before sending user to results page , where user is not able to see the query in address bar(only encrypted field is visible), but before sending to Elasticsearch I decrypt the field and then send.
Also for displaying I am decrypting the field and everything works fine, but the issue comes when I again open search box, I get encrypted verison only , I know this is expected behavior as url is linked to search box by default, but can we somehow, decrypt the query there also.

For sending decrypted version to Elasticsearch I am using, onSearch function in search-driver, but not able to find anything related to search box in documentation.
Note I have already tried value field in searchbox input.

From Elastic Search to Elasticsearch

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.