Set autocomplete off for V7 and V8 field components
AutocompleteOffExtension is an extension for both Vaadin 7 and 8. It can be used to set the autocomplete attribute to disabled for Vaadin components extending
AbstractField, such as
The extensions sets the attribute of the input element to
autocomplete=off in Google Chrome, and to a random number in others that do not respect the 'off' value.
There is a reported regression in Chrome that potentially breaks the extension! You can follow the progress of the issue in the Chromium bug portal.
Version 1.1 of the addon adds two methods, setAutocompleteOffWithRandomNumber and setAutocompleteOffWithManualValue which can be used to circumvent issues with Chrome.