MadimetjaShika / vuetify-google-autocomplete

A Vuetify ready Vue.js autosuggest component for the Google Places API.

Home Page:https://madimetjashika.github.io/vuetify-google-autocomplete/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

browser autocomplete

alsconsulting opened this issue · comments

the browser autocomplete doesn't seem to be able to be changed - on google chrome the correct text to disable browser autocomplete is 'disabled'. I have tried to change it via props, but it keeps reverting to 'off'

suggest the following code to detect the browser and set the default setting to disabled for chrome, and off for everything else.

 computed: {
    isGoogleChrome() {
      return (
        /Chrome/.test(navigator.userAgent) &&
        /Google Inc/.test(navigator.vendor)
      );
    }
  }

Hi @alsconsulting. Could you please share the HTML code for how you're setting the browser autocomplete prop?

Closing due to inactivity. Please reopen with sample code.