XM-Cloud-Introduction
XM-Cloud-Introduction copied to clipboard
Browser back button is not clearing text in search box
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to https://mvp.sitecore.com/en/Directory
- Search 'Gaurav' in the search box, it will show the result
- Now click the browser back button, it removes the search query string but the search text is still showing in the Search box
Expected behavior The search box should not have any search text
Screenshots
@gauravpansari1991 Seems we need to add autocomplete="off" to fix this one, this is default browser behavior though