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.

Expect to add Autocomplete off to the default config

See original GitHub issue
  • vue-autosuggest version: 2.0.0
  • node version: 10.15.3
  • npm (or yarn) version: 1.16.0

Relevant code or config

image

What you did:

What happened:

image

Problem description:

Suggested solution:

The autocomplete attribute is not added by default. Expect to add it to the default config And set the default value to off No manual configuration required

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
darrenjenningscommented, Jun 23, 2019

ah it seems that it is always “off” to start, but then inputProps are blowing away the defaults sometimes. I see the fix and can push up in a bit.

0reactions
cdwmhcccommented, Jun 24, 2019

Yea if you want to return whatever comes back from the api, don’t filter the options by name, just return the data from the response. i.e. instead of returning filteredOptions just return suggestions

<vue-autosuggest
  v-model="query"
  :suggestions="suggestions"

I’m like a fool. It’s amazing that I didn’t see it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to turn off form autocompletion - Web security | MDN
This article explains how a website can disable autocomplete for form fields. By default, browsers remember information that the user ...
Read more >
How to Disable the Browser Autocomplete and Autofill on ...
Learn how to prevent browsers auto filling the input fields of HTML forms. Use autocomplete="off" to specify that autocomplete is disabled. See examples....
Read more >
How to Enable or Disable Autocomplete in a Web Browser
Open a Chrome browser window. Click Customize and control Google Chrome Chrome settings icon (three vertical dots) in the upper-right corner of ...
Read more >
2019, Chrome 76, approach to autocomplete off
The only working solution I've found is to setting autocomplete="off" on the input and add hidden fake inputs before the real input that ......
Read more >
Turn Off Autocomplete for Input
Just use the autocomplete attribute:
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