question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable autocomplete in search

See original GitHub issue

Description

Browser autocomplete in the search field should be disabled because it visually conflicts with the instant results.

Expected behavior

The browser doesn’t display its autocomplete.

Actual behavior

The browser displays its autocomplete. Screenshot image

Steps to reproduce the bug

  1. Click the search field.

Solution

Add autocomplete="off" to the HTML form element in partials/search.html

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
retniktcommented, Apr 17, 2019

It’s not an extension, and it doesn’t happen on my Windows 10 box (chrome dev 75.0.3759.4). I guess we can close this since it’s not a problem with this repo.

On Wed, Apr 17, 2019 at 6:34 PM Martin Donath notifications@github.com wrote:

It would be interesting if somebody else is experiencing the same problem. You seem to be the first one having this problem, so it might be related to your setup. Maybe it’s a browser extension, or an operating system thing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/squidfunk/mkdocs-material/issues/1078#issuecomment-484188643, or mute the thread https://github.com/notifications/unsubscribe-auth/AXcWitrC73r3IBYvJQ2JFBmvj7NzCLVnks5vh1s2gaJpZM4c1EXQ .

0reactions
squidfunkcommented, Apr 17, 2019

It would be interesting if somebody else is experiencing the same problem. You seem to be the first one having this problem, so it might be related to your setup. Maybe it’s a browser extension, or an operating system thing. The autocomplete attribute has been sitting there for the last two years, so it is really improbable that it’s related to the actual HTML.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable the auto complete in google search
Go to Settings > Advanced > Sync and Google services > Auto-complete searches and URLs > Disable that. Note: You can do in...
Read more >
How can I disable Chrome's address bar search autocomplete?
Go to "Google and You"; Go to "Sync and Google Services"; Disable Autocomplete searches and URLs. (This used to be under Privacy and...
Read more >
How Do I Disable or Clear AutoFill/AutoComplete Information?
Click on the "Settings and More" icon. · Click on "Settings." · Click on "Privacy, search, and services." · In the "Clear Browsing...
Read more >
How to Enable or Disable Autocomplete in a Web Browser
On the next screen, under Search Suggestions, uncheck the box next to Provide search suggestions. Unchecking Provide search suggestions box.
Read more >
How to turn off form autocompletion - Web security | MDN
If a browser keeps on making suggestions even after setting autocomplete to off, then you have to change the name attribute of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found