Vuetify: [Feature Request] Set v-autocomplete browser-autocomplete default value to "disabled", instead of "off"

Created on 11 Oct 2018  路  2Comments  路  Source: vuetifyjs/vuetify

Problem to solve

Chrome intentionally ignores "off" and "false" values for an input autocomplete attribute, to fit the WHATWG autofill standard (well... 'fit' their way).

Hence, v-autocomplete still prompts "autofilled browser suggestions" where their browser-autocomplete default value is "off".

Proposed solution

Set the browser-autocomplete default value to something that doesn't match any WHATWG autofill standard, nor Chrome exception. Such as "disabled".

To keep the browser autofill behaviour, we would have to clearly define the prop to 'on' or to a WHATWG autofill token value.

VAutocomplete feature help wanted

Most helpful comment

I should probably make this a separate issue but with v2, the Chromium autofill sometimes shows suggestions for the v-text-field, v-autocomplete and v-combobox. The browser autofill suggestions overlay the suggestions provided by v-autocomplete and v-combobox. Those two components should disable browser autofill functionality. It would be good if it was disabled by default with an option to enable it for v-text-field though.

All 2 comments

In v2 the default autocomplete value has been removed.

I should probably make this a separate issue but with v2, the Chromium autofill sometimes shows suggestions for the v-text-field, v-autocomplete and v-combobox. The browser autofill suggestions overlay the suggestions provided by v-autocomplete and v-combobox. Those two components should disable browser autofill functionality. It would be good if it was disabled by default with an option to enable it for v-text-field though.

Was this page helpful?
1 / 5 - 1 ratings

Related issues

SteffenDE picture SteffenDE  路  3Comments

paladin2005 picture paladin2005  路  3Comments

cawa-93 picture cawa-93  路  3Comments

gluons picture gluons  路  3Comments

dschreij picture dschreij  路  3Comments