Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser back button is not clearing text in search box #431

Open
gauravpansari1991 opened this issue Mar 27, 2024 · 1 comment
Open

Browser back button is not clearing text in search box #431

gauravpansari1991 opened this issue Mar 27, 2024 · 1 comment
Labels
bug Something isn't working MVP Site

Comments

@gauravpansari1991
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://mvp.sitecore.com/en/Directory
  2. Search 'Gaurav' in the search box, it will show the result
  3. 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

image image
@gauravpansari1991 gauravpansari1991 added the bug Something isn't working label Mar 27, 2024
@sc-ivanlieckens
Copy link
Collaborator

@gauravpansari1991 Seems we need to add autocomplete="off" to fix this one, this is default browser behavior though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MVP Site
Projects
None yet
Development

No branches or pull requests

3 participants